Author |
Message |
guidyy
Worker


Joined: Nov 22, 2004
Posts: 208
Location: Italy
|
Posted:
Tue Apr 25, 2006 4:59 am |
|
How in the hell I can get rid of the footer in the pop-up windows with more smilies? |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Tue Apr 25, 2006 5:08 am |
|
Huh?
You mean the link in the forum at reply ?
Like "View more Emoticons" ?
If so...that has no footer. |
|
|
|
 |
guidyy

|
Posted:
Tue Apr 25, 2006 6:08 am |
|
when you click on the "View more Emoticons" it opens a pop-up window.
in that window I have the whole footer of the site.
It did not before 2.0.20 (and it does not show on this website)
Beside, i have another problem:
It show an empty windows on IE, while in firefox is fine and all emoticons are there.
I'm going nut....
Guido |
|
|
|
 |
hitwalker

|
Posted:
Tue Apr 25, 2006 6:17 am |
|
|
|
 |
guidyy

|
Posted:
Tue Apr 25, 2006 9:08 am |
|
i dont know if it's me .. or something in the 2.0.20:
i found this code to be the problem
Code:
if ($mode == 'window')
{
$template->pparse('smiliesbody');
include('includes/page_tail.'.$phpEx);
}
|
I changed as the previous version
Code:
if ($mode == 'window')
{
$template->pparse('smiliesbody');
include("includes/page_tail_review.php");
}
|
And now everything is ok again, both in IE and Firefox.
Guido |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Wed Apr 26, 2006 2:57 am |
|
I cannot duplicate this problem using IE. The smilies window open fine with no footer for me.
You might want to use this though (based on your post above).
Code: if ($mode == 'window')
{
$template->pparse('smiliesbody');
include('includes/page_tail_review.'.$phpEx);
}
|
|
|
|
|
 |
guidyy

|
Posted:
Wed Apr 26, 2006 4:54 am |
|
thx Guardian,
your code works as well.
I still do not know why it does't work with the original code, maybe something related to my customized forums template.
using page_tail_review solve the problem, so i'm fine about it....
note: just for the record:
the affected file is includes/functions_post.php (not so irrilevant information!)
Guido |
|
|
|
 |
Guardian2003

|
Posted:
Wed Apr 26, 2006 8:32 am |
|
Thanks for the update and clarification of which file is affected I'll take a look.
I had assumed it was theme related but I'll have a snoop around in any event out of curiosity - thanks!! |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Apr 26, 2006 10:33 am |
|
Yep that code change works. I have that noted for 2.0.20 changes, good job |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Apr 26, 2006 8:01 pm |
|
Mantis?  |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
evaders99

|
Posted:
Wed Apr 26, 2006 9:29 pm |
|
|
|
 |
montego

|
Posted:
Thu Apr 27, 2006 5:53 am |
|
|
|
 |
|