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)
-   -   My Best Threads (https://vborg.vbsupport.ru/showthread.php?t=108208)

The Realist 02-20-2006 02:04 PM

Would just removing the product remove the user field as well?

And the user field is that removed from the database via phpmyadmin?

Quote:

Originally Posted by Developer
1.0.0 On 20. Feb 2006 Initial Version.[to upgrade:delete user field then import the product again and follow instruction above]
now it's great


Developer 02-20-2006 02:07 PM

Quote:

Originally Posted by The Realist
Would just removing the product remove the user field as well?

And the user field is that removed from the database via phpmyadmin?

no, user field is added and removed manually from ACP

The Realist 02-20-2006 02:52 PM

Tried to follow instructions but my templates are not standard VB.

You state:
Quote:

Find:

<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
And below it place:
Quote:

<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&amp;t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&amp;t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
My templates have this code in them:
Quote:

<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
I have tried adding your code below the above and within the code, but the link does not show up?

Any ideas?

Laters

bashy 02-20-2006 03:08 PM

Hi

Im sorry im a little lost...what user field lol

Developer 02-20-2006 03:23 PM

sorry i had something wrong in the product i'll fix it then answer ur questions

Developer 02-20-2006 04:10 PM

fixed you have to download the product again

Developer 02-20-2006 04:11 PM

Quote:

Originally Posted by The Realist
Tried to follow instructions but my templates are not standard VB.

You state:


And below it place:


My templates have this code in them:


I have tried adding your code below the above and within the code, but the link does not show up?

Any ideas?

Laters

add the code below
Code:

<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>


Developer 02-20-2006 04:13 PM

Quote:

Originally Posted by bashy
Hi

Im sorry im a little lost...what user field lol

i mean user profile field :)

OmeR4eVeR 02-20-2006 04:20 PM

thanks developer very nice

emin3m 02-20-2006 05:18 PM

juss wondering every of your plugin is great but you dun use template changes within the xml file
like
PHP Code:

$vbulletin->templatecache['MEMBERINFO']=str_replace('$footer','$mybest
$footer'
,$vbulletin->templatecache['MEMBERINFO']); 

make hook location "parse_template"


All times are GMT. The time now is 05:02 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.01181 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (7)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