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.

harlita 03-18-2007 09:57 AM

I like this better than the marquee edit in the admincp, because it seems it will allow the member to edit their text, but retain the scrolling.

*installed*

thanks! I was looking for that =)

Atakan KOC 03-26-2007 07:06 AM

Thanks........

deezelpope 03-26-2007 08:23 AM

Very nice! Installed...thank you!:D :up:

HeRmAn'S 03-29-2007 08:34 AM

version 3.6.5 good working :up:...and *Installed* :)

TVNettet 03-31-2007 07:00 AM

Does it really matter if it can be done in default?
Kudos for the post, people complaining about honest efforts should really not make these posts complaining...
It's one thing to point it out, it's another to slag you off for trying.
Well done Twilkey... like me there are many people who don't know everything and I'm sure this will be helpful. I will try the default method, which I'd have never learnt about had it not been for your efforts, so again thx m8!

Aimee1969 05-11-2007 01:58 PM

it ain't working???? Help please...

Aimee1969 05-11-2007 02:12 PM

I like it ;)

MrPHD 02-22-2008 02:11 PM

Hi, On me works great, nice job. Regards

MrPHD 02-22-2008 02:18 PM

Quote:

Originally Posted by Ev!L ErN!E (Post 1189480)
is there a demo?


Hi, in HERE you can see. Regards


All times are GMT. The time now is 07:10 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.02191 seconds
  • Memory Usage 1,742KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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