vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Snow avatar overlay for your forum (https://vborg.vbsupport.ru/showthread.php?t=292617)

Krusty1231 12-06-2013 06:30 PM

I did not want a full blown snow effect on my entire forum. Some members become annoyed when I do that. This is perfect.

Thanks for sharing!

Razta 12-07-2013 03:48 AM

Thank you very much

ZUCCO 12-07-2013 04:45 AM

Hey, I replace the code as you said and I put the usergroups ID (replacing x,y,z ) but nothing happens :(

Does it apply to already registered member or just new ones?

tbworld 12-07-2013 07:23 AM

It is just a transparent overlay image. So if you are selecting the right user-groups it will work past and present. :)

I have never used this modification.

Krusty1231 12-07-2013 10:12 AM

1 Attachment(s)
As I do not like relying upon other websites for internal tweaks like this one I'd suggest you take out this part of the code...

Code:

http://forum.ragezone.com/images/styles/AnimatedArena/xmas/snow.gif
Upload the image to your own forum, and enter the URL location of that image.
Code:

http://yourforum/images/snow.gif
Or whatever.

Here is the image used.

tbworld 12-07-2013 10:21 AM

Quote:

Originally Posted by Krusty1231 (Post 2466544)
As I do not like relying upon other websites for internal tweaks like this one I'd suggest you take out this part of the code...

I did not want to say anything because it was a 'hack modification", and the author made it pretty obvious.

ZUCCO 12-07-2013 01:08 PM

Still cant make it work.

I uploaded the snow.gif file into my images directory:


Code:

"http://myweb.com/images/snow.gif"

I replaced the x,y,z with my usergroup IDs and still nothin happens :(


The whole text was like this:


Code:

<!-- snow avatar effect code -->
<vb:if condition="is_member_of($post, 5,6,7,8)">
<table {vb:raw avwidth} {vb:raw avheight} border="0" cellspacing="0" cellpadding="0" align="center" background="{vb:raw post.avatarurl}">
<tr><td>
<a href="{vb:link member, {vb:raw post}}"><img src="http://myweb.com/images/snow.gif"  {vb:raw post.avwidth} {vb:raw post.avheight} alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" border="0" /></a>
</td></tr>
</table>
<vb:else />
<div class="usercenter"><a href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /></a></div>
</vb:if>
<!-- snow avatar effect code -->

Still doesnt work.

Krusty1231 12-07-2013 04:42 PM

Perhaps because your layout is not postbit legacy? I'm no expert but your site's postbit is not what mine looks like. That could be the problem?

tbworld 12-07-2013 06:19 PM

You might try temporarily setting the conditional always on:

Change:
Code:

<vb:if condition="is_member_of($post, 5,6,7,8)">
To:
Code:

<vb:if condition="TRUE  ||  is_member_of($post, 5,6,7,8)">
Just set the TRUE to FALSE to toggle the conditional on and off.

ChiNa 01-03-2014 01:26 AM

I dare you to PROVE ME and vBulletin.org WHAT IS YOURS that you replied on my Topic >> https://vborg.vbsupport.ru/showthrea...06#post2471906

One thing I hate most is Accussations that MENTAL People like does accuse others!
You better come with some prove because I will be comming after you if not..


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