View Full Version : Admin options as text links in threads Problems
LOD-squa
01-23-2003, 01:10 AM
Hello, I'm currently having problem with this mod. When I click some of the links I get blank pages can someone help me?
Cypher720
01-23-2003, 01:22 AM
your forum directory could be wrong...what is your code?
LOD-squa
01-23-2003, 01:33 AM
Well the url is allright though. But what do you mean? :p , you mean the url?
The other thing is that edit thread works correctly but the rest doesn't.
omega buster
01-23-2003, 01:39 AM
double check the URL and make sure it points to the right URL :P
LOD-squa
01-23-2003, 01:42 AM
I got some urls working right now. But close and sticky aint working :-P
Managed to fix somestuff but heres the code:
<table cellpadding="0" cellspacing="0" border="0"><tr><td>
<smallfont>
<b>Admin Options:</b> [<a href="postings.php?s=$session[sessionhash]&action=editthread&threadid=$threadid">Edit Thread</a>] - [<a href="postings.php?s=$session[sessionhash]&action=openclosethread&threadid=$threadid">Open / Close Thread</a>] - [<a href="postings.php?s=$session[sessionhash]&action=move&threadid=$threadid">Move / Copy Thread</a>] - [<a href="postings.php?s=$session[sessionhash]&action=deletethread&threadid=$threadid">Delete Thread / Posts</a>] - [<a href="postings.php?s=$session[sessionhash]&action=merge&threadid=$threadid">Merge Threads</a>] - [<a href="postings.php?s=$session[sessionhash]&action=split&threadid=$threadid">Split Thread</a>] - [<a href="postings.php?s=$session[sessionhash]&action=stick&threadid=$threadid">Stick / Unstick Thread</a>]
</smallfont>
</td></tr>
</table>
When you close/open or sticky a thread what url dose it give you?
LOD-squa
01-23-2003, 01:58 AM
For close/open: http://forum.lod-squared.com/postings.php?s=&action=openclosethread&threadid=526
Sticky/Unstick: http://forum.lod-squared.com/postings.php?s=&action=stick&threadid=526
Try this:
<table cellpadding="0" cellspacing="0" border="0"><tr><td>
<smallfont>
<b>Admin Options:</b> [<a href="postings.php?s=$session[dbsessionhash]&action=editthread&threadid=$threadid">Edit Thread</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=openclosethread&threadid=$threadid">Open / Close Thread</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=move&threadid=$threadid">Move / Copy Thread</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=deletethread&threadid=$threadid">Delete Thread / Posts</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=merge&threadid=$threadid">Merge Threads</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=split&threadid=$threadid">Split Thread</a>] - [<a href="postings.php?s=$session[dbsessionhash]&action=stick&threadid=$threadid">Stick / Unstick Thread</a>]
</smallfont>
</td></tr>
</table>
LOD-squa
01-23-2003, 02:18 AM
It works now thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.