vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   $show['homepage'] in postbit (https://vborg.vbsupport.ru/showthread.php?t=231988)

lim(x?-5x?) = ∞ 01-03-2010 01:12 AM

$show['homepage'] in postbit
 
$show['homepage'] - where/how is this value set?
Code:

<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>


Hell Bomb 01-03-2010 02:58 AM

This is found in the postbit and postbitlegacy templates. I am not sure where it is set, might want to take a look through the admincp options/usercp options.

Lynne 01-03-2010 03:33 AM

Doing a search in the templates shows it is set in different files depend on where it is used. For the postbit, it's set in the file class_postbit.php.

Hell Bomb 01-03-2010 05:12 AM

Quote:

Originally Posted by Lynne (Post 1945578)
Doing a search in the templates shows it is set in different files depend on where it is used. For the postbit, it's set in the file class_postbit.php.

Awe, I thought he was asking a different question. Thought he was looking to put a link into the postbit for the posters homepage or something.

lim(x?-5x?) = ∞ 01-03-2010 09:26 AM

I was thinking about removing homepage links from postbits, obvious solution just to remove quoted code, but if it was possible to disable via global option - it will be better (work in all styles).

Lynne 01-03-2010 02:50 PM

Just set the $show['homepage'] variable to false in a plugin.


All times are GMT. The time now is 01:21 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.01057 seconds
  • Memory Usage 1,720KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete