vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [AddOn] Useful Additions For Quickreply (and normal reply page) (https://vborg.vbsupport.ru/showthread.php?t=47918)

Hwulex 01-24-2003 10:17 PM

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 :)

Hwulex 01-25-2003 11:14 AM

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.

over 01-25-2003 03:15 PM

will use parts of this hack :)

close / make sticky dead useful :D
cheers.

eva2000 01-25-2003 07:53 PM

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

KuraFire 01-26-2003 11:35 PM

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 ^_^)

Tony DiMera 01-27-2003 03:40 PM

Sweet thanks a lot.

KuraFire 02-03-2003 08:34 AM

Eva, have you edited this line:

PHP Code:

          $modbit = ($bbuserinfo['usergroupid']==|| $bbuserinfo['usergroupid']==7) ? ",sticky='$stickybit',open='$openbit'" ""

as well? (ie. did you add " || $bbuserinfo['usergroupid']==30" ?)

L-Mane 03-02-2003 07:31 PM

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

king sting 03-09-2003 05:41 PM

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?

ImportPassion 03-21-2003 02:02 PM

can this be added to newthread.php?


All times are GMT. The time now is 02:21 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
  • Page Generation 0.01059 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete