Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2009, 12:19 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help: Postbit Legacy Special Images

hi....just one question here....to anyone that might willing to help me please...

On my board we have On The Spot Member Feature Weekly ....that will sit there and answer to all questions might all members ask him/her throughout the week

now all i want is if i can add or is it possible to add image ONLY to the said On the Spot Member any image like a Star or anything which he/she will carry it...until end of the week or say...unless i removed it....

maybe i should edit it via postbit/postbit legacy templates? have no idea how this will work...

pls. view my attachment for more info...

appreciate any help on this please

thanks and best regards to all

Attached Images
File Type: gif on_the_spot.gif (29.4 KB, 0 views)
Reply With Quote
  #2  
Old 06-22-2009, 12:34 PM
rrudeboy's Avatar
rrudeboy rrudeboy is offline
 
Join Date: May 2009
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you checked YaAS: https://vborg.vbsupport.ru/showthread.php?t=196244 ?
Reply With Quote
  #3  
Old 06-22-2009, 03:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could just add something to the template like:
HTML Code:
<if condition="$post[userid] == 'x'">
an image
</if>
If this is something you do weekly, I'd probably go add something to a vboptions page to enter the userid there and then change x to $vboptions[whatever], but that's just me.
Reply With Quote
  #4  
Old 06-22-2009, 11:33 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rrudeboy View Post
thanks but i got it already just want to try the other way...maybe

Quote:
Originally Posted by Lynne View Post
You could just add something to the template like:
HTML Code:
<if condition="$post[userid] == 'x'">
an image
</if>
If this is something you do weekly, I'd probably go add something to a vboptions page to enter the userid there and then change x to $vboptions[whatever], but that's just me.
as always Lynne is there and wiiling to assist all....if you saw my attachment idea., is this going to work on that place itself? okay...got me and i think you got a best idea there...but the next thing or other way you're telling me via vboptions dont have a single idea how i'm gonna start it and make it happen...frankly speaking no idea about it...

can you please help me more to it

Million Thanks and Best Regards To You!

Reply With Quote
  #5  
Old 06-23-2009, 01:59 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That condition should work wherever you want to put it in the postbit.

As for using options, you'd have to turn on debug mode and add the option to the dropdown you want to add it to. If you called it 'OTST_weekly", then you would change the condition to something like:
HTML Code:
<if condition="$post[userid] == $vboptions['OTST_weekly']">
an image
</if>
I haven't tried anything like that, so you should test it on a test site first.
Reply With Quote
Reply


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 07:28 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.03616 seconds
  • Memory Usage 2,221KB
  • Queries Executed 12 (?)
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_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete