vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Marquee quote under Avatar (https://vborg.vbsupport.ru/showthread.php?t=139877)

Twilkey 02-18-2007 10:00 PM

Marquee quote under Avatar
 
First
Log in to AdminCP
User Profile Fields > Add New User Profile Field
Nothing real specific after this part. Just remember that your members need to know that whatever is put in the box will scroll under their avatar, or whatever you deside to put the code in the next step under.
Next
Log into AdminCP
Styles & Templates > Style Manager > Edit Templates > posbit_legacy
FIND:
Code:

<if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </div>
            </if>

Under ADD:
Code:

<if condition="$post['field5']"><MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="2" width="100%"><div class="smallfont">$post[field5]</div></MARQUEE></if>
Change red to profile field number.
Change light green to background color.
Change light blue to how many times it loops. (-1) is unlimited.
Change dark green to change the speed.

MThornback 02-19-2007 07:05 PM

If you make a second profile field you could also make the text colour user selected.....

I'm not going to use it personally....but its good work :)

1337_macro 02-20-2007 09:04 AM

you could just go to admin cp > User options and change their sub title and use the Marquee tag's.

Twilkey 02-21-2007 06:29 AM

I like both those Ideas.

SCRIPT3R 02-21-2007 04:20 PM

why desire to hack your forum code when this can be done in default?

Necrosaro420 02-24-2007 12:35 AM

does not work for me =(

Ev!L ErN!E 02-24-2007 12:45 AM

is there a demo?

Necrosaro420 02-24-2007 12:59 AM

nevermind

MTVSlick 03-04-2007 07:56 PM

how does a member change the text in the marquee?

Mark,

Twilkey 03-05-2007 04:41 AM

They edit the profile field.


All times are GMT. The time now is 09:18 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.01059 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_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