vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Badges (https://vborg.vbsupport.ru/showthread.php?t=44683)

LordHelmut 10-17-2002 01:56 AM

Badges
 
1 Attachment(s)
<a href="http://www.visualbasicforum.com" target="_blank">www.visualbasicforum.com</a> uses a hack one of the members wrote where the administrators can give different badges to members. They have a leader badge to show whose a helpful person on the forum, a guru badge to show who can figure most stuff out, and a badge for moderators and admins. I have attached a screenshot to show how it looks, how hard would this be to write?

Dean C 10-17-2002 05:14 PM

looks nice :D

Ask for someone to make it in the "Requests" forum :D

- miSt

etones 10-19-2002 12:30 PM

I;ve seen a hack like this posted already. You can assign a littke 13x13 pixel image with users...

Search the hacks forum

LordHelmut 10-19-2002 04:29 PM

Do you have any idea what it might be called? I looked but there are so many I can test them all.

Neo 10-20-2002 12:00 PM

Sigh....https://vborg.vbsupport.ru/showthrea...threadid=44593

Dean C 10-20-2002 02:27 PM

^ that isn't it neo..

- miSt

Ninth Dimension 10-20-2002 10:41 PM

you might be able to use the awards hack on this site, just do a search for it :)

LordHelmut 11-09-2002 11:19 PM

Well, it seems no one is accepting. I was told that basically it would just be displaying a image to the right of the names and some other minor edits. This would be a really cool hack to do. I know people wonder if any hacks are left, well here is one that no ones doing :(

Erwin 11-10-2002 03:10 AM

You don't really need a hack to do this.

Create a new custom profile field. Call it "Badge". Set it to NO in all options (not customizable by member, not seen in profile etc.)

Find out what the custom profile id number is by putting your mouse over the link to edit it, and looking at the number at the end.

Then, in your postbit template, add this:

<img src=$post[fieldx]>

where you want the "badge" to show up. Replace x with the custom profile id number.

You can do the same for the user's profile - in the "getinfo" template, add this:

<img src=$userinfo[fieldx]>

where you want the "badge" to show up too.

Then, when you want to give a "badge" to a member, go to your Admin CP, edit the user profile, and in that "Badge" custom profile space, put in the full URL to that image. You can use different images for different badges.

Done! :)

LordHelmut 11-10-2002 04:17 AM

It works great man! :) Thank you sooo much. There is however one problem. For some reason on everyone who DOESNT have a badge image linked in that field, it puts the little square with the red X (symbolizing no image to load) next to their name. How do I fix this?


All times are GMT. The time now is 05:19 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.01033 seconds
  • Memory Usage 1,727KB
  • 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)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