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)
-   -   New Threads w/ Sticky Option... (https://vborg.vbsupport.ru/showthread.php?t=42937)

N9ne 08-30-2002 02:18 PM

Yeah I mean an option so you can make the thread sticky whily using newreply or quick reply ;)

Could there be two separate instructions for integrating it with Quick Reply from FireFly and Quick Reply from Nakkid? [as I have a test board using Nakkid's and my main board using FireFly's]

I wish I knew PHP :( I'm such an annoyance to hackers here with all my requests, with my 50 hacks installed ;)

I've tried learning PHP but just found it too hard, maybe in a few years when my brain can handle it all :D

Dean C 08-30-2002 03:08 PM

doesn't work :(

get an error about a unmatching column count in this bit:

Quote:

find: (3)

$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,p ostusername,postuserid,lastposter,dateline,iconid, visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."' ,'".time()."','$forumid','1','0','".addslashes($po stusername)."','$bbuserinfo[userid]','".addslashes($postusername)."','".time()."','$i conid','$visible','$attachcount')");

replace with:

// +++++++ New Thread Sticky Option +++++++
$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,p ostusername,postuserid,lastposter,dateline,iconid, visible,attach,sticky) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."' ,'".time()."','$forumid','1','0','".addslashes($po stusername)."','$bbuserinfo[userid]','".addslashes($postusername)."','".time()."','$i conid','$visible','$attachcount','$stickynow')");
// +++++++ New Thread Sticky Option +++++++
- Mist

Goldknight 08-30-2002 04:04 PM

Hm? Can you pls post your codes that you got error? I mean the codes that you try to replace.

Dean C 08-30-2002 05:42 PM

well im running this hack on a massive board... i dont want to fo re-installing unless its bug free cuz we had almost 20 emails complaining about it...

- mist

g-force2k2 08-30-2002 06:18 PM

Mist did you try doing the changes manually or did you replace the code? regards...

g-force2k2

Dean C 08-30-2002 09:32 PM

i did it manually.... looked in the file...

g-force2k2 08-30-2002 09:33 PM

give me the exact coding you entered and i'll fix it if needed... regards...

g-force2k2

N9ne 09-02-2002 12:38 AM

Hows the production on integrating this with Nakkid's quick reply hack?

g-force2k2 09-02-2002 01:33 AM

I have never looked at Nakkid's quick reply hack... linkage please? regards...

g-force2k2

N9ne 09-02-2002 03:09 AM

Well I want it for newreply page aswell, here's the link to Nakkid's Quick reply:

https://vborg.vbsupport.ru/showthrea...threadid=40380


All times are GMT. The time now is 06:59 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.01015 seconds
  • Memory Usage 1,730KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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