vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Predefined Tags (https://vborg.vbsupport.ru/showthread.php?t=219936)

ThorstenA 07-31-2009 10:00 PM

Predefined Tags
 
1 Attachment(s)
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.

Predefined Tags
Predefined Tags are small links, for example called Mercedes:
Attachment 102768
When a user clicks on this link, the thread is tagged with Mercedes.
  • Place this code anywhere on template SHOWTHREAD
  • Replace the red marked text with your tag names
  • Place as many of these pre defined tags as you want
Code:

<form action="threadtag.php?do=managetags&amp;t=$threadid" method="post">
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="managetags" />
<input type="submit" class="button" value="Mercedes" />
<input type="hidden" name="taglist" id="tag_add_input" value="Mercedes" />
</form>


LEAD_WEIGHT 08-02-2009 03:09 AM

Nice, but would prefer to see list within an option to choose from a link and open up in same method as 'edit tags'

ThorstenA 08-02-2009 09:29 AM

Quote:

Originally Posted by LEAD_WEIGHT (Post 1859911)
Nice, but would prefer to see list within an option to choose from a link and open up in same method as 'edit tags'

That can be done with a product. It can't be done with an easy template edit as this one.

yotsume 09-04-2009 03:18 AM

1 Attachment(s)
Your screenshot is not helpful. Can you please make a screenshot of how these predefined tags look when you go to make a new thread.

Please make this a product with admincp options to create the predefined tags that are selectable from a drop menu on the editor maybe? Or maybe from check boxes above the editor like my screen shot.

I need this for one of my sites.

Thanks!

ThorstenA 09-04-2009 07:41 AM

As there are only 4 installs, I do not see this template edit popular.

This template edit is Re-usable Code, please feel free to make a product out of it yourself.

yotsume 09-04-2009 07:53 AM

Can you please post more screen shots.

Thanks

ThorstenA 09-04-2009 07:58 AM

The screenshot shows, how the tag is displayed. It shows everything there is done.

yotsume 09-04-2009 08:02 AM

No the screen shot doesnt show position! How about a little wider view please. At least my screen shot you can see the editor and the position etc.

ThorstenA 09-04-2009 08:05 AM

Quote:

Originally Posted by yotsume (Post 1879494)
No the screen shot doesnt show position! How about a little wider view please. At least my screen shot you can see the editor and the position etc.

First, this product is unsupported. Please take this into considerations. Thanks. As I wrote: "Place this code anywhere on template SHOWTHREAD". where it appears is on your side.You place this product on SHOWTHREAD, your screenshot is on NEWTHREAD where it can not be placed.

JVCode 10-10-2009 09:36 PM

Won't be installing this mod... the coders response in the above post was uncalled for.


All times are GMT. The time now is 03:50 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.01180 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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