![]() |
Installed and working perfectly first time (with 2.2.6). Thankyou, great hack :)
<EdiT> I've changed the template around a bit. Take a look at the template for changes. I've also added a "New Posts" option to the Return To: select box. A lot of my members view posts from the new posts page, so found this most useful. Tomorrow, I'm probably going to use the hack so that it works with editing posts as well. If I get the time, or can be bothered, I might run up a quick instructions.txt for the changes I've made :) |
I received an email requesting the code that I altered to enable "Return To New Posts' option, so here it is (attached).
I may also do the editpost option later on. |
will use parts of this hack :)
close / make sticky dead useful :D cheers. |
okay i have a problem
my usergroups are admin = 6 super mod = 5 mod = 30 now the problem is even after i change the occurences of usergroup == 7 to ==30 my super mods can't close or stick threads using quick reply box but my mods and admin can some of my super mods are also assigned to mod specific forums too |
I'll look into it tomorrow at work, should be fixable, no? :)
Don't really know what could be the problem here, though.. I probably have to 'extrapolate' the hack code and see the dependancies of the entire codeblock, those might be relevant for the problem... but since it's 2:30 am and I have to work tomorrow, I'm gonna sleep now... :) (posted now mostly to get a new notifier if anyone posts after this, or if you (Eva) post a "already fixed it, nm!" or so ^_^) |
Sweet thanks a lot.
|
Eva, have you edited this line:
PHP Code:
|
I get this error when I use this
Database error in vBulletin 2.3.0: Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1046640222',last poster='Leyonssio',sticky='0',open='1' WHERE forumid IN (18,4,-1) mysql error: Unknown column 'sticky' in 'field list' mysql error number: 1054 Date: Sunday 02nd of March 2003 04:23:42 PM Script: http://www.allhiphop.com/community/c...y/newreply.php Referer: http://www.allhiphop.com/community/s...threadid=16485 |
uhmm.. I installed it and it looks great.. but now anyone (even if their not a mod or admin) can stcky and close threads.. any ideas on what I did wrong? how can i make it so only mods and admins can sticky and close threads?
|
can this be added to newthread.php?
|
When ever anybody tries to post with the quick reply hack on my board it says: Invalid thread please contact webmaster.
Then I tried installing it again and I got the same thing. |
Quote:
PHP Code:
Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread. |
Quote:
|
Quote:
PHP Code:
Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread. |
Great hack, works great out of the box!!!!
|
*bump*
|
How do I get the Signature tickbox to stay ticked for those that use signatures? because at the moment its not being ticked by default.
If users use the normal reply buttons, it puts thier sigs in, but if they use the quick reply box, without ticking anything, its not putting their sigs in, but if they tick the Sig box, it does. I've looked at the code, and it says this: (which I thought was the default tick, but its not) PHP Code:
Is there a way to fix this? |
The var "$signaturechecked" doesn't get made in showthread.php. To do so, look in newthread.php or newreply.php, search the file for $signaturechecked, then copy the bit of code that creates the var and put it in showthread.php just before the piece where the quickreply box stuff is made.
|
Quote:
urm, I copied: PHP Code:
PHP Code:
PHP Code:
Did I do it right? If not, where did I go wrong. Thanks |
bump
|
Bump for post:
https://vborg.vbsupport.ru/showthrea...776#post383776 |
The only thing that works for me is the sticky. Everything else refuses to update.. I've redid the hack, but still nothing. I figured out it was a conflict with Doublepost Guard -- http://www.vbulletin.org/hacks/index...threadid=40145 . I'll post up a fix as soon as I find it or if someone can enlighten me with the answer, that would be appreciated.
I know it has been 2 months, Sanjiyan and I bet you probably already dropped this hack or if you didn't get it working and your still trying... Try Code:
$emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" : ""; |
Would be a great hack but, I too am getting db errors with 2.2.9
I tried installing twice.... same dealio Database error in vBulletin 2.2.9: Invalid SQL: UPDATE thread SET lastpost='1060203767',replycount=replycount+1,last poster='SIINSI',sticky='0',open='1' WHEREthreadid='12417' mysql error: You have an error in your SQL syntax near 'WHEREthreadid='12417'' at line 1 mysql error number: 1064 Date: Wednesday 06th of August 2003 03:02:47 PM Script: http://www.jdmuniverse.com/forums/forums/newreply.php Referer: http://www.jdmuniverse.com/forums/sh...threadid=12417 |
Quote:
Did you put $signaturechecked in the template? It has to be there in the right place, of course :) jdmuniverse: you removed the space between WHERE and threadid in the query. Put the space back. :) |
um yea im gettin the same problem with the unknown column sticky thing that a lot of other people are getting...whats the deal do we have a solution for that yet????
|
awesome! =)
|
I think an upgrade of vB at some point deleted the sticky column...
But I've dropped support for vB2 hacks because I'm focusing on vB3-only hacks now (and have been for a while already). Sorry! :/ |
All times are GMT. The time now is 04:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|