Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke
Author Message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sat Jun 10, 2006 6:41 pm Reply with quote

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
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sun Jun 11, 2006 9:52 am Reply with quote

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!
 
View user's profile Send private message
hitwalker







PostPosted: Sun Jun 11, 2006 9:56 am Reply with quote

i understand....but last time i added smilies was 5 years ago...Smile
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







PostPosted: Sun Jun 11, 2006 10:07 am Reply with quote

Strange.
 
hitwalker







PostPosted: Sun Jun 11, 2006 12:01 pm Reply with quote

yes and it even makes you almost speechless...
but i do like to see this solved..
 
hitwalker







PostPosted: Sun Jun 11, 2006 12:14 pm Reply with quote

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
Worker



Joined: May 18, 2005
Posts: 119
Location: SVCDPlaza

PostPosted: Sun Jun 11, 2006 12:54 pm Reply with quote

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');
 
View user's profile Send private message Visit poster's website
hitwalker







PostPosted: Sun Jun 11, 2006 1:14 pm Reply with quote

indeed nice find,but i cant imagine they took out these lines by mistake..
 
kenwood







PostPosted: Sun Jun 11, 2006 1:41 pm Reply with quote

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







PostPosted: Sun Jun 11, 2006 1:43 pm Reply with quote

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

PostPosted: Sat Jun 17, 2006 7:13 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
hitwalker







PostPosted: Sun Jun 18, 2006 4:58 am Reply with quote

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







PostPosted: Sun Jun 18, 2006 4:34 pm Reply with quote

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







PostPosted: Sun Jun 18, 2006 4:37 pm Reply with quote

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

PostPosted: Tue Jul 25, 2006 2:30 pm Reply with quote

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. Cheers
 
View user's profile Send private message
firstwiseman
Regular
Regular



Joined: Oct 11, 2005
Posts: 65

PostPosted: Wed Nov 01, 2006 12:13 pm Reply with quote

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.
 
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Wed Nov 01, 2006 10:30 pm Reply with quote

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!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Nov 03, 2006 3:12 pm Reply with quote

Is this the same problem?

http://www.nukeforums.com/forums/viewtopic.php?t=23500
 
View user's profile Send private message
firstwiseman







PostPosted: Fri Nov 03, 2006 3:22 pm Reply with quote

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







PostPosted: Fri Nov 03, 2006 9:22 pm Reply with quote

Good idea, and yes that is apparently a working fix.

Good Job Gremmie, excellent evaders.
 
kindpeacho
New Member
New Member



Joined: Aug 18, 2006
Posts: 10

PostPosted: Wed Nov 08, 2006 2:59 pm Reply with quote

Yes htat fix worked perfect (the nuke forums link).

Thank you!! Now my smilies work again Smile
 
View user's profile Send private message
thebishop
Worker
Worker



Joined: Aug 30, 2005
Posts: 244
Location: Flying to close to the sun

PostPosted: Wed Nov 15, 2006 11:01 am Reply with quote

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. Sad


Last edited by thebishop on Thu Nov 16, 2006 7:12 am; edited 1 time in total 
View user's profile Send private message
thebishop







PostPosted: Thu Nov 16, 2006 7:05 am Reply with quote

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. Sad
 
thebishop







PostPosted: Fri Nov 17, 2006 1:31 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©