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-12-2005 07:49 AM

Is there an option for subscriptions (Its in the same if-statement)

twincamfxd 12-12-2005 03:19 PM

I installed it and everything looks OK, but when I try to stick a thread it dissapears lol. Any idea what I did wrong? I am not sure where the threads are going, but they just vanish. Everything else looks awesome though.

FROGGYJ 12-12-2005 11:47 PM

this mod cause these problems for me.

1. If you tried to access your usercp you get the following error

"Warning: in_array(): Wrong datatype for second argument in /usercp.php(439) : eval()'d code on line 32"

2. if you hit menu > subscribed threads you get the following erro

Warning: in_array(): Wrong datatype for second argument in /subscription.php(583) : eval()'d code on line 32

theArchitect 12-13-2005 04:09 AM

Quote:

Originally Posted by Mephisteus
Is there an option for subscriptions (Its in the same if-statement)

Yep.

But the interesting thing is that in my SHOWTHREAD template div is used instead of tr.

So you code to find is

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>

while mine is:

Code:

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

I amended your code to work with div instead, but it should still show.

Mephisteus 12-13-2005 02:01 PM

Quote:

Originally Posted by twincamfxd
I installed it and everything looks OK, but when I try to stick a thread it dissapears lol. Any idea what I did wrong? I am not sure where the threads are going, but they just vanish. Everything else looks awesome though.

Did you do the first template edit (its the only reason I can think of why it would cause threads to disappear)

Quote:

Originally Posted by FROGGYJ
this mod cause these problems for me.

1. If you tried to access your usercp you get the following error

"Warning: in_array(): Wrong datatype for second argument in /usercp.php(439) : eval()'d code on line 32"

2. if you hit menu > subscribed threads you get the following erro

Warning: in_array(): Wrong datatype for second argument in /subscription.php(583) : eval()'d code on line 32

Are you using 1.0.2, this issue was adressed in 1.0.1

Quote:

Originally Posted by theArchitect
Yep.

But the interesting thing is that in my SHOWTHREAD template div is used instead of tr.

So you code to find is

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>

while mine is:

Code:

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

I amended your code to work with div instead, but it should still show.

Is that a costumized template? And what exactly do you mean with the last bit. If there isnt a <table> <tr><td> wont do much :P

twincamfxd 12-14-2005 01:40 AM

Yep that was it lol. I missed one of the template edits. Works awesome now, Thanks!!

Smiry Kin's 12-17-2005 01:56 PM

Very cool hack

ronoxQ 12-18-2005 09:18 PM

Hmm... It works well, but the images aren't showing up? What can I do to fix this?

Mephisteus 12-18-2005 09:22 PM

Upload the images to the proper image folder for the style you are using.

And click install :)

biggazillakilla 12-19-2005 02:01 AM

Wow, just installed. That was pretty quick and easy. Great work!

Any way to add something to set it apart from the other threads (other than the stickypin)? For example, with a different background color or a prefix such as:

MySticky: Personal Stickys

(Like the default stickies do.)

Edit: I'm going to call this "starring" in my forum to see how that works.

So, something like this:

Starred: Personal Stickys


All times are GMT. The time now is 08:49 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.01191 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_code_printable
  • (4)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