|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
Find this bit of code in admin/stickpost.php: <br />// ------------------------ <br />// Send them a page <br /> $html -> send_header ("Post Marked Sticky",$Cat,"<META HTTP-EQUIV=\"Refresh\" content=\"5;url={$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&view=\ <br />$view&sb=$sb&o=$o\">",$user); <br /> $html -> admin_table_header("Post Marked Sticky"); <br /> Replace it with this: <br />// Log all edits. <br />admin_log("STICKPOST", "PostNumber=$Number"); <br /> <br />// ------------------------ <br />// Send them a page <br /> $html -> send_header ("Post Marked Sticky",$Cat,"<META HTTP-EQUIV=\"Refresh\" content=\"5;url={$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&view=\ <br />$view&sb=$sb&o=$o\">",$user); <br /> $html -> admin_table_header("Post Marked Sticky"); <br /> Then, open admin/unstickpost.php and find this bit of code: <br />// ------------------------ <br />// Send them a page <br /> $html -> send_header ("Post returned to normal",$Cat,"<META HTTP-EQUIV=\"Refresh\" content=\"5;url={$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&\ <br />view=$view&sb=$sb&o=$o\">",$user); <br /> $html -> admin_table_header("Post returned to normal"); <br /> And replace it with this: <br />// Log all edits. <br />admin_log("UNSTICKPOST", "PostNumber=$Number"); <br /> <br />// ------------------------ <br />// Send them a page <br /> $html -> send_header ("Post returned to normal",$Cat,"<META HTTP-EQUIV=\"Refresh\" content=\"5;url={$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&\ <br />view=$view&sb=$sb&o=$o\">",$user); <br /> $html -> admin_table_header("Post returned to normal"); <br />
Last edited by Gardener; 03/29/2003 7:37 AM.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
Confirmed to work on 6.2 as well.
|
|
|
|
Joined: Jan 2002
Posts: 674
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 674 |
working on my 6.2.3 Thanks gardener
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|