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)

Mephisteus 12-20-2005 03:58 AM

It doesnt add or modify any queries, it makes use of existing ones.

Although (obviously) it does execute a query when sticking or unsticking :p

BrandiDup 12-20-2005 10:12 AM

Thank you!

Installed :D

biggazillakilla 12-20-2005 07:58 PM

Can anybody point me in the right direction for where to look to change the background color of personal stickies and to add a prefix (or perhaps even move the graphic to the front of the threadtitle)?

To change the background color, I've tried playing around with the threadbit by adding this conditional:

Code:

<if condition="$thread['selfsticky'] == 1">
or

Code:

<if condition="$thread['personalsticky'] == 1">
but nothing's working.

Should I try something like this?

Code:

<if condition="$personalsticky"> <td style="background: #FFE9B9;" class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]"><img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[personal_sticky_thread]" /> </if>
Thanks again in advance for any assistance.

Mr.Design 12-23-2005 02:20 AM

Quote:

Originally Posted by Mephisteus
Sounds like it collides with another hack. Thats about all I can say about it. Havent got a clue as to how to fix that.

I've got NO other hacks installed and I got the same thing... :ermm:

foxconn 12-23-2005 02:47 AM

good work man

Mephisteus 12-23-2005 06:37 AM

Quote:

Originally Posted by Mr.Design
I've got NO other hacks installed and I got the same thing... :ermm:

Identified as a bug. I will look through the file and see where the problem is at tonight after school.

The thread will quite simply be stickied to the top of its own page, not the first page per see.

Mr.Design 12-23-2005 10:37 PM

Quote:

Originally Posted by Mephisteus
Identified as a bug. I will look through the file and see where the problem is at tonight after school.

The thread will quite simply be stickied to the top of its own page, not the first page per see.


Great :)

Thanks for the work on this! It's a great idea! :)

nirmah 12-24-2005 06:28 AM

My SHOWTHREAD has:

Code:

<if condition="$show['member']">
                        <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
                                <if condition="$show['subscribed']">
                                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                                <else />
                                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                                </if>
                        </div>
                </if>

This instead of the on on the readme:

Code:

        <if condition="$show['member']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
                <if condition="$show['subscribed']">
                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                <else />
                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                </if>
                </td>
        </tr>

What should I add then?

Thank you

redspider 12-26-2005 07:24 AM

Quote:

Originally Posted by nirmah
My SHOWTHREAD has:

Code:

<if condition="$show['member']">
                        <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
                                <if condition="$show['subscribed']">
                                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                                <else />
                                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                                </if>
                        </div>
                </if>

This instead of the on on the readme:

Code:

        <if condition="$show['member']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
                <if condition="$show['subscribed']">
                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                <else />
                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                </if>
                </td>
        </tr>

What should I add then?

Thank you

same problem here I reverse the template but still look diferent from the code post here .

armagan 12-26-2005 09:04 AM

Quote:

Originally Posted by nirmah
My SHOWTHREAD has:

Code:

<if condition="$show['member']">
                        <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
                                <if condition="$show['subscribed']">
                                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                                <else />
                                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                                </if>
                        </div>
                </if>

This instead of the on on the readme:

Code:

        <if condition="$show['member']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
                <if condition="$show['subscribed']">
                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                <else />
                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                </if>
                </td>
        </tr>

What should I add then?

Thank you


!!!!!!


All times are GMT. The time now is 02:25 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.01326 seconds
  • Memory Usage 1,769KB
  • 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
  • (9)bbcode_code_printable
  • (5)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