Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 05-26-2007, 07:35 PM
Duncan Duncan is offline
 
Join Date: Oct 2004
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Verified Users - Modification needed

Hello,

I run a large community and we require email verification confirmation before members can post. But, i'm going to start letting unverified users begin posting in a group labled "Unverified" (Which is "USERS AWAITING CONFIRM EMAIL" renamed).

What I want to do is put a small star beside the username in POSBIT (NOT TIED TO THE USERNAME ITSSELF)

This is only going to be for the registered user group.


The star is going to be an image
please help post a modifciation for this request

cheers,
andy
Reply With Quote
  #2  
Old 05-27-2007, 10:57 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its easy, just do an <if> and <else> command in PHP, i dont know how it works, but if you take a look around in your vb installation you can do it, or would you like me to help you?
Reply With Quote
  #3  
Old 05-27-2007, 12:16 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit the usergroup and in html markup put in
<img src="IMAGE URL HERE" /> in the first box

In the second put in </img>
Reply With Quote
  #4  
Old 05-27-2007, 12:56 PM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh god, i didnt even think about that :| But yes, thats the easy way of doing it
Reply With Quote
  #5  
Old 05-27-2007, 03:59 PM
Duncan Duncan is offline
 
Join Date: Oct 2004
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
edit the usergroup and in html markup put in
<img src="IMAGE URL HERE" /> in the first box

In the second put in </img>
But that will display image in who's online & stuff won't it?

Can someone give me the code to put it in the styles//postbit?
Reply With Quote
  #6  
Old 05-27-2007, 04:29 PM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Research into what i said then.
Reply With Quote
  #7  
Old 05-28-2007, 10:12 PM
Duncan Duncan is offline
 
Join Date: Oct 2004
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If someone could give me the statement and tell me where to put it in postbit & postbit legacy I will pay $5 paypal.

please post "working on job" and send a PM with details so others dont already do it if your working on it.

need asap.
Reply With Quote
  #8  
Old 05-29-2007, 04:15 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will do it free, just a second i will find it.. Read my sig btw
Reply With Quote
  #9  
Old 05-29-2007, 10:02 PM
Duncan Duncan is offline
 
Join Date: Oct 2004
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok sounds good
Reply With Quote
  #10  
Old 05-30-2007, 02:41 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: sorry, below is the method that will display a star next to everyones name if the viewer is unverified, but im sure you can tweak it! Try replacing $bbuserinfo with $post and tell me if it works, if not you have to ask someone else

Ok done, find where you want to put the message or image and insert this:

PHP Code:
<if condition="$bbuserinfo['usergroupid'] == '1'">MESSAGE</if> 
Replace 1 with the ID of the usergroup you want to show it too and replace MESSAGE with what you want them to see.

so if you wanted people that are not verified to see a star, assuming your un verified by email usergroup is 3 and your star is at http://www.alchemist-team.net/star.gif
You find this in your posbit or postbit legacy template:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a
and replace it with this:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$bbuserinfo['usergroupid'] == '1'"></if>$post[musername]</a
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:05 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.08229 seconds
  • Memory Usage 2,253KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete