Author |
Message |
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Sat Jun 10, 2006 6:41 pm |
|
ok this is weird...
i wanted to add some smilies and i noticed it didnt show the smilies.pak in /modules/Forums/images/smiles/ when i went to the forum config...
so the new uploaded smilies.pak didnt show either...
another thing was that when i visit the smilies admin page i got bombed by my own 404 page .
says clearly....tried to load../modules/Forums/modules/Forums/images/smiles/icon_whateverrrr.gif
you see the double modules/Forums path ?
Is this known?
I was updated to newest forum but put most of files back after the bug discovered...
So is there a smilie problem to?
edit: ok have fully updated to 2.0.21 and its still the same...
smilie pak isnt recognized and url to smilie is still messed up...when visiting the smilie admin.
it duplicates the path....modules/Forums/modules/Forums |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sun Jun 11, 2006 9:52 am |
|
Too bad you cannot go back to see where this stopped working? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
|
hitwalker
|
Posted:
Sun Jun 11, 2006 9:56 am |
|
i understand....but last time i added smilies was 5 years ago...
but its clear that it should work....and as everything is updated....looks like a bug...
also url i posted that i see in my 404 mail isnt correct...
smilies do work in the forum,but even the sm,ilie page...the overview,they dont show there either.. |
|
|
|
|
kguske
|
Posted:
Sun Jun 11, 2006 10:07 am |
|
|
|
|
hitwalker
|
Posted:
Sun Jun 11, 2006 12:01 pm |
|
yes and it even makes you almost speechless...
but i do like to see this solved.. |
|
|
|
|
hitwalker
|
Posted:
Sun Jun 11, 2006 12:14 pm |
|
well i found out the problem is with the admin_smilies.php
i uploaded an older version of admin_smilies.php and the smilies work again,and also the smilies.pak is recognized again..
but if no one cares to find out the problem with this thats fine by me....
basically all we ever do all the time is patch,update,patch,update.. |
|
|
|
|
kenwood
Worker
Joined: May 18, 2005
Posts: 119
Location: SVCDPlaza
|
Posted:
Sun Jun 11, 2006 12:54 pm |
|
In the new BBtoNuke2021 and BBtoNuke2021np i mis
Code:$smilie_tmp = $board_config['smilies_path'];
$board_config['smilies_path'] = ereg_replace("modules/Forums/", "", "$smilie_tmp");
|
On line 53 and 54 after Code:require($phpbb_root_path . 'extension.inc');
|
|
|
|
|
|
hitwalker
|
Posted:
Sun Jun 11, 2006 1:14 pm |
|
indeed nice find,but i cant imagine they took out these lines by mistake.. |
|
|
|
|
kenwood
|
Posted:
Sun Jun 11, 2006 1:41 pm |
|
In the phpBB-2.0.21-codechanges[1] you can find the next tekst
Code:
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_smilies.php
#
#-----[ FIND ]---------------------------------------------
# Line 50
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? true : false;
$no_page_header = $cancel;
#
#-----[ FIND ]---------------------------------------------
# Line 55
require('./pagestart.' . $phpEx);
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ($cancel)
{
redirect('admin/' . append_sid("admin_smilies.$phpEx", true));
}
|
So where it say's that you must remove those line's??? |
|
|
|
|
hitwalker
|
Posted:
Sun Jun 11, 2006 1:43 pm |
|
i didnt took those out,i just mean why are these lines suddenly missing.... |
|
|
|
|
manunkind
Client
Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM
|
Posted:
Sat Jun 17, 2006 7:13 pm |
|
I have this same problem. Thanks hitwalker. I didn't notice until I read this thread.
Any resolution yet? I don't have a version of admin_smilies.php that works for me. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
|
hitwalker
|
Posted:
Sun Jun 18, 2006 4:58 am |
|
lol...thats the problem.....how often do men use the smilies admin ...
i never used it untill i wanted to add some funny ones..
but if one of the posted solutions dont work,just try the file of your previous versions..
that worked great.. |
|
|
|
|
manunkind
|
Posted:
Sun Jun 18, 2006 4:34 pm |
|
Ok, I got them working in the Admin area, but when I click (when posting) the "View More Emoticons" link on the left, it pops up a blank page. Does yours do this or is this another problem that I have? |
|
|
|
|
hitwalker
|
Posted:
Sun Jun 18, 2006 4:37 pm |
|
no...but you used other version now?
Note: im on newest phpbb version and used the page of 2.0.17 or 19 ...not sure... |
|
|
|
|
wizazz
Hangin' Around
Joined: Jan 03, 2006
Posts: 26
|
Posted:
Tue Jul 25, 2006 2:30 pm |
|
Hello,
I had this problem too, Most the time its the Simplest Solution and not alot of Script to fix... Try this instead... It worked for me..
Instead of directing the Smilies to the
"ROOT" \modules\Forums\images\smiles
....... Try using this instead ...
"ROOT" \images\smiles
dont forget to go in your Main CONFIG for the phpbb forums area to set the Smiles destination folder to this....
\images\smiles
Also remember to set your CHMOD from your ftp to the proper folders as well.
Finally upload your smilies to that folder and then go back in your phpbb admin area to the Smilies area and Import your new smilies... it should show in the list as long as they are a .PAK file.
i Hope this helps. |
|
|
|
|
firstwiseman
Regular
Joined: Oct 11, 2005
Posts: 65
|
Posted:
Wed Nov 01, 2006 12:13 pm |
|
Yes, had all of these problems as well. I just created a new set of folders and copied, not moved, the smiles and ranks folder contents there. I think you'll find the same thing happens with the ranks as well.
My folder structure for these two type of images is now:
http://www.mysite.com/modules/Forums/modules/Forums/images/smiles
Remember to CAPITALIZE the letter "F" in Forums or they may still show as missing. |
|
|
|
|
gregexp
The Mouse Is Extension Of Arm
Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Wed Nov 01, 2006 10:30 pm |
|
That would show the working directory is incomplete or not defined correctly.
Something to look into, good find first. |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
|
|
Gremmie
Former Moderator in Good Standing
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Fri Nov 03, 2006 3:12 pm |
|
|
|
|
firstwiseman
|
Posted:
Fri Nov 03, 2006 3:22 pm |
|
Yep, same problem. In the forums admin panel the images for smilies and ranks are broken. You'll likely find the same broken image problem in a few other areas.
A few thems don't have the proper directory structure.
I keep a separate web site running for testing purposes. I try everything there and work out the bugs (if possible) before I use it on the sites I admin. |
|
|
|
|
gregexp
|
Posted:
Fri Nov 03, 2006 9:22 pm |
|
Good idea, and yes that is apparently a working fix.
Good Job Gremmie, excellent evaders. |
|
|
|
|
kindpeacho
New Member
Joined: Aug 18, 2006
Posts: 10
|
Posted:
Wed Nov 08, 2006 2:59 pm |
|
Yes htat fix worked perfect (the nuke forums link).
Thank you!! Now my smilies work again |
|
|
|
|
thebishop
Worker
Joined: Aug 30, 2005
Posts: 244
Location: Flying to close to the sun
|
Posted:
Wed Nov 15, 2006 11:01 am |
|
Ok i have added the code fix for the admin_smilies.php that Evaders99 posted and i now can see the smiles in my smiles admin area and the smiles.pak files are being recognized. the only problem is there not showing up in the forum area for posters to use.
did i miss something in this or other posts on this subject.
the path to the smiles in admin forum configuration should be /images/smiles am i not correct. although when i first checked it had the double Modules/Forums thing going on but i changed that. |
Last edited by thebishop on Thu Nov 16, 2006 7:12 am; edited 1 time in total |
|
|
|
thebishop
|
Posted:
Thu Nov 16, 2006 7:05 am |
|
ok i have added both fixes the the admin_smiles.php
Code:FIND
require('./pagestart.' . $phpEx);
if ($cancel)
{
redirect('admin/' . append_sid("admin_smilies.$phpEx", true));
}
AFTER, ADD
$smilie_tmp = $board_config['smilies_path'];
$board_config['smilies_path'] = ereg_replace("modules/Forums/", "", "$smilie_tmp");
|
And
Code:
FIND
if ($cancel)
{
redirect('admin/' . append_sid("admin_smilies.$phpEx", true));
}
AFTER, ADD
$smilie_tmp = $board_config['smilies_path'];
$board_config['smilies_path'] = ereg_replace("modules/Forums/", "", "$smilie_tmp");
|
in my forums admin i have the path to my smiles set to /images/smiles.
but i am still seeing only white boxes with red x's in the forum area.
please tell me im just being lame and missing something simple.
once again its probably a case of me working when way too tired. |
|
|
|
|
thebishop
|
Posted:
Fri Nov 17, 2006 1:31 pm |
|
Ok i had put this on the back burner due to dealing with other problems but i still have not found a fix for this. is there some other place besides the admin_smiles.php that would alter the path to the smiles folder.
if i take an admin_smiles.php from sotck nuke 7.6 would this fix it.
I'm going to just test that right now. brb. |
|
|
|
|
|