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)
-   -   Mini Mods - DONATIONS - Icon for those who've made a donation - POSBIT or POSTBIT_LEGACY vB 4.0.x (https://vborg.vbsupport.ru/showthread.php?t=231270)

jhabers 01-09-2010 08:06 PM

I dont get it, cant you just do this with ranks? At least thats what I am doing

Welshy2008 01-09-2010 10:34 PM

Quote:

Originally Posted by jhabers (Post 1951424)
I dont get it, cant you just do this with ranks? At least thats what I am doing



Can you post some screenshots of that please?

pportuese 09-02-2010 07:56 PM

I'm trying here and can't get it. I changed it to sponsor instead of donator
This is my code and I get nothing
Quote:

<!-- Wy Sponsor Icon in postbit Start -->
<vb:if condition="is_member_of($post, Sponsor)"><img src="http://www.mitsuworld.com/forums/images/buttons/sitesponsor.jpg" width="19" height="18" alt="{vb:raw post.username} has accepted the sponsorship to the forum!" border="0"></vb:if><br/><br/>
<!-- Wy Sponsor Icon in postbit End -->
The path for the image is correct. I tried putting the usergroup ID and the ID number where the green X is and it doesn't make any difference.
I am on 4.0.6

Welshy2008 09-03-2010 10:38 AM

Quote:

Originally Posted by pportuese (Post 2092960)
I'm trying here and can't get it. I changed it to sponsor instead of donator
This is my code and I get nothing


The path for the image is correct. I tried putting the usergroup ID and the ID number where the green X is and it doesn't make any difference.
I am on 4.0.6


Hello,

I don't have 4.0.6 up and running yet, and therefore, can't confirm it is working, myself.

I have just regestered on your forum, and if you are happy to give me Admin permissions, I will do it for you.

sulasno 09-03-2010 01:39 PM

tagged and thanks

edit

<vb:if condition="is_member_of($post, X)"><different image>
<vb:if condition="is_member_of($post, Y)"><different image>
<vb:if condition="is_member_of($post, Z)"><different image>

would the above work ?

edit

this Mod is working in 4..0.6

Welshy2008 09-03-2010 03:27 PM

Quote:

Originally Posted by sulasno (Post 2093270)
tagged and thanks

edit

<vb:if condition="is_member_of($post, X)"><different image>
<vb:if condition="is_member_of($post, Y)"><different image>
<vb:if condition="is_member_of($post, Z)"><different image>

would the above work ?

edit

this Mod is working in 4..0.6


Thank You Sulasno.

That would work (as I do it). but you would have to repeat the process for all conditions that you want to use.

If you need any help. PM me.

CharlieDelta 09-05-2010 01:53 AM

Quote:

Originally Posted by movslow (Post 1940734)
What about those using Postbit legacy?

The code their is different?
:confused:

[edit]

I did some testing and placing it after this seemed to work in the postbit legacy template.

I placed it in the postbit legacy as well.

What a great idea! Works great! Thanks Welshy!

sulasno 09-05-2010 01:48 PM

@Welshy2008

I would need to hunt for some trophys first :-)

sulasno 09-07-2010 02:08 AM

can be this mod be modified to award a trophy to users instead of usergroups ?

pportuese 09-07-2010 03:36 PM

Here is my code:

Quote:

<!-- Wy Sponsor Icon in postbit Start -->
<vb:if condition="is_member_of($post, 11)"><img src="http://www.mitsuworld.com/forums/images/buttons/sitesponsor.jpg" width="185" height="57" alt="{vb:raw post.username} has accepted the sponsorship to the forum!" border="0"></vb:if><br/><br/>
<!-- Wy Sponsor Icon in postbit End -->

<!-- Wy Supporting Icon in postbit Start -->
<vb:if condition="is_member_of($post, 9)"><img src="http://www.mitsuworld.com/forums/images/buttons/SUPPORTING.gif" width="185" height="57" alt="{vb:raw post.username} has donated to support the forum!" border="0"></vb:if><br/><br/>
<!-- Wy Supporting Icon in postbit End -->
I want different icons for different groups. I have 4 members in this supporting group. However it only shows up on 2 of them, not all 4.


All times are GMT. The time now is 07:32 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.01337 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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