Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
shmk
Worker
Worker


Joined: Dec 21, 2004
Posts: 116

PostPosted: Wed Apr 27, 2005 3:27 pm Reply with quote

I added to my phpbb template the egosearch button inserting this line of code in index_body.tpl:
Code:
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br /> 


If I test it function properly, but the url is a little strange... i got:
Code:
./modules.php?name=Forums&file=search&search_id=egosearch&sid=MYSIDNUMBER 


instead of
Code:
./modules.php?name=Forums&file=search&search_id=egosearch 



Is it normal ?
 
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1159
Location: Sanbornton, NH USA

PostPosted: Wed Apr 27, 2005 6:12 pm Reply with quote

That looks normal to me given that the function is an append_sid function.

You are after all asking the system to view your posts, thus the sid is required.

You'll find:
Code:
redirect(append_sid("login.$phpEx?redirect=search.$phpEx&search_id=egosearch", true));
in your search.php file as well as:
Code:
'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
in your includes/page_header.php file.

Hope this helps.

_________________
Steph Benoit Only registered users can see links on this board! Get registered or login!
1CMS, 100% Section 508 and W3C XHTML/CSS Compliant (Truly) 
View user's profile Send private message Visit poster's website
shmk
PostPosted: Thu Apr 28, 2005 6:43 am Reply with quote

64bitguy wrote:
That looks normal to me given that the function is an append_sid function.

You are after all asking the system to view your posts, thus the sid is required.

You'll find:
Code:
redirect(append_sid("login.$phpEx?redirect=search.$phpEx&search_id=egosearch", true));
in your search.php file as well as:
Code:
'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
in your includes/page_header.php file.

Hope this helps.


Thx 4 the help,
I thought that I had something wrong in my template and I thought that showing the SID could make some security issue.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©