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)

LOD-squa 01-20-2003 08:39 PM

You could also make this for new threads. Like you can make a thread sticky or close it or even both. Just a suggestion.

PiotrasG 01-20-2003 08:48 PM

great hack nice job one question return to: forum forumhome doesnt want to work any ideas???


Also I get this from database

Database error in vBulletin 2.2.9:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1043104125',last poster='admin',sticky='0',open='1' WHERE forumid IN (28,37,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Monday 20th of January 2003 05:08:45 PM
Script: http://www.polskieforum.com/forum/forum/newreply.php
Referer: http://www.polskieforum.com/forum/sh...p?postid=25366


the script its not located where its says to many /forum the strip should be

http://www.polskieforum.com/forum/newreply.php[/url]

any ideas

KuraFire 01-20-2003 10:28 PM

gohanssj2: I can, but I'm not gonna.

PiotrasG: erm, wtf?!?!?!

How the h*** do you not have a sticky column?! o_O

xevious 01-20-2003 10:33 PM

i get the same thing

LOD-squa 01-20-2003 10:38 PM

I installed it and it works fine for me.

xevious 01-20-2003 10:40 PM

i fixed it, it was this step:

Next, a little bit below this, you will find _TWO_ occurences of:
addslashes($postusername)."' WHERE

REPLACE BOTH WITH:
addslashes($postusername)."'$modbit WHERE

I accidently skipped one. Nice hack :)

PiotrasG 01-20-2003 10:51 PM

Quote:

Originally posted by KuraFire
gohanssj2: I can, but I'm not gonna.

PiotrasG: erm, wtf?!?!?!

How the h*** do you not have a sticky column?! o_O

I have the sticky column


also for this step

Next, a little bit below this, you will find _TWO_ occurences of:
addslashes($postusername)."' WHERE

REPLACE BOTH WITH:
addslashes($postusername)."'$modbit WHERE

I did that

djr 01-20-2003 11:05 PM

Quote:

Originally posted by KuraFire
I should make a hack that gives you the option "only display user's sigs once per threadpage" I think....

cos I wanna see them, but only -ONCE- ffs :)
Already done by TWTCommish here: https://vborg.vbsupport.ru/showthrea...threadid=36470

don't know if it works on 2.2.9 though (last post says not, but I didn't check)

- djr

Boofo 01-20-2003 11:13 PM

KuraFire, I think a sticky for a new thread might not be a bad idea, but a close thread option for a new thread is ridiculous. Why would you want to close a thread you are just opening? LOL You have to be really bored to do that one. :)

HiSquad 01-20-2003 11:24 PM

Nice Hack

Thanks


All times are GMT. The time now is 09:48 PM.

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.02318 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_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