vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Clickable, Sortable Prefixes (https://vborg.vbsupport.ru/showthread.php?t=169832)

nando99 11-01-2008 01:33 AM

Wondering if there's a way to make a link to show multiple prefixes only... like 2 prefixes or 3...

Magnumutz 11-01-2008 10:57 AM

Not really... cuz it's based on prefix id's...
So not really.

marianoblesa 11-25-2008 03:15 AM

Hello, In the attachment is different to the code posted on the topic and the deputy will not only be a warning to the author

Magnumutz 11-26-2008 05:39 AM

Yeah, your right... i had a typo there too :p
Anyways, i've fixed it.
Thanks for letting me know.

Sarthek 12-23-2008 02:55 AM

cool

Alfa1 01-17-2009 11:37 PM

It would be very nice for SEO to add an alt text to the prefix. i.e. alt="[forum title] [prefix title]"
How can I add this? Would this work:
alt="$thread[prefix] $thread[forumname]"

Magnumutz 01-23-2009 06:32 AM

This should work Alfa... sorry for the LATE reply.
Code:

<if condition="$thread['prefix_rich']"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]&amp;prefixid=$thread[prefixid]" title="$thread['prefix'] $thread[threadtitle]" />$thread[prefix_rich]</a></if>

Alfa1 01-24-2009 01:06 AM

I am getting an error:
Code:

The following error occurred when attempting to evaluate this template:

Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mysite/domains/
mysite/public_html/forum/includes/adminfunctions_template.php(3772) : eval()'d code on line 29

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


Magnumutz 01-25-2009 05:59 PM

Ok, this one's going to work... i had some ' characters mistakenly added.
Code:

<if condition="$thread['prefix_rich']"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]&amp;prefixid=$thread[prefixid]" title="$thread[prefix] $thread[threadtitle]" />$thread[prefix_rich]</a></if>

Alfa1 01-25-2009 11:03 PM

Prefixes now shows the thread title as title text. It does not show the prefix title. $thread[prefix] does not seem to work.
As I would like to show the forum title, I have changed it to:
title="$thread[forumtitle]"

I would like the title to be forumtitle followed by prefixtitle. How do I add the prefix title?


All times are GMT. The time now is 03:21 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.01175 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_code_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