vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Personal Stickys (https://vborg.vbsupport.ru/showthread.php?t=102535)

Keyser S?ze 04-29-2007 02:39 AM

nope sure dont, needs an update for sure

Lionel 05-08-2007 05:32 AM

I've got this to work in 3.60

first in forumdisplay.php you must remove the last bracket in OR threadid IN ($personalstickysq))

and do like (no parenthesis after AND sticky =)

Quote:

AND sticky = 1
OR threadid IN ($personalstickysq)
and then do the change in post 126 but the correct template is threadbit, not showthread

PJSkiboy 06-05-2007 03:30 PM

Quick question, is this mod supposed to show your personal stickies in every forum/subforum you visit or is it simply supposed to sticky those threads in the forum they reside?

Currently the personal stickies are following me around everywhere i go on my forums, lol. Is there a way to make them simply be stickied in the forum they were created in???

I really hope i simply have some code wrong somewhere, lol.

gingery 06-20-2007 02:24 PM

I would really like to have a working version of this hack for 3.6.7.

john1744 09-11-2007 10:13 PM

Actually I just got it working perfectly for 3.6.7

gingery 09-12-2007 12:29 AM

Quote:

Actually I just got it working perfectly for 3.6.7
Can you share the details? :)

yoyoyoyo 09-12-2007 12:33 AM

how many extra queries does this send to the server?

john1744 09-12-2007 01:54 AM

vBulletin 3.6.7 PL1 Instructions

Try out these directions and report back. As far as I remember this is what I did to get it working. (Basically following others ideas and putting them together.)

fixer 09-16-2007 10:11 PM

Quote:

Originally Posted by john1744 (Post 1337375)
vBulletin 3.6.7 PL1 Instructions

Try out these directions and report back. As far as I remember this is what I did to get it working. (Basically following others ideas and putting them together.)

it gives error in vb3.6.8

zendiver 01-19-2008 02:13 AM

Quote:

Originally Posted by fixer (Post 1340434)
it gives error in vb3.6.8

It works, but there is a slight problem within the document. It says:
Code:

==== Find in forumdisplay.php
                $stickies = $db->query_read_slave("
                        SELECT thread.threadid, lastpost, open
                        FROM " . TABLE_PREFIX . "thread AS thread
                        WHERE forumid = $foruminfo[forumid]
                                AND sticky = 1
                                $visiblethreads
==== Replace with
                $stickies = $db->query_read_slave("
                        SELECT thread.threadid, lastpost, open
                        FROM " . TABLE_PREFIX . "thread AS thread
                        WHERE forumid = $foruminfo[forumid]
                                AND (sticky = 1
                                OR threadid IN ($personalstickysq)
                                $visiblethreads

The replacement is missing a closing paranthesis - it needs a double )) after $personalstickysq
It should look like this for the replacement

Code:

==== Replace with
                $stickies = $db->query_read_slave("
                        SELECT thread.threadid, lastpost, open
                        FROM " . TABLE_PREFIX . "thread AS thread
                        WHERE forumid = $foruminfo[forumid]
                                AND (sticky = 1
                                OR threadid IN ($personalstickysq))
                                $visiblethreads

AND there was a step left out that was part of the original installation.

Working on 3.6.8 PL2 - Complete Update Installation Revision is attached!


All times are GMT. The time now is 06:27 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.01175 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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