Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
Donation Feature with vBExperience Details »»
Donation Feature with vBExperience
Version: 1.00, by DanTHEGREAT DanTHEGREAT is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.0 RC 2 Rating:
Released: 12-23-2008 Last Update: Never Installs: 9
Template Edits
Is in Beta Stage  
No support by the author.

Donation Feature With vBExperience

what is this? This is a simple template modification so that all your users may donate to one another with a simple click of a button. Here, I will be showing you how to add a donation button on the postbit for the better.

Installation

1. go to your admin cp>styles and templates>search in templates
2. search for the "postbit_legacy" template and click it for one of your skins
3.

Find:
Code:
				<div>
					$vbphrase[posts]: $post[posts]
				</div>
Add BELOW:
Code:
<br></br>
<a href="xperience.php?go=shop&do=own"><b><u>Donate To A Friend</b></u></a><br></br>
4. You're done!

If you have any questions, you can either private message me or you can post below.
If there are any errors, please post below and I will gladly help you.

Screenshots

File Type: png donate.PNG (37.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-13-2009, 09:29 AM
iBardia iBardia is offline
 
Join Date: Nov 2008
Location: vB Tech Land
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not using postbit legacy
Reply With Quote
  #3  
Old 02-13-2009, 09:35 AM
KrU$ty's Avatar
KrU$ty KrU$ty is offline
 
Join Date: Oct 2007
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I'm not using postbit legacy
Alot of the time, if you want something to show in the postbit, you need to add it to the postbit_legacy template.
Reply With Quote
  #4  
Old 07-24-2009, 11:32 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Move Donate Link Above Avatar:

I wanted to move the donate link to be above the avatar. I have the experience bars showing above the avatars. The donate link would go better below the bars but above the avatar. So this is what I did:

FIND:
Code:
$vbphrase[posts]: $post[posts]
                </div>
ADD BELOW:
Code:
<br></br>
<div class="smallfont"><a href="xperience.php?go=shop&do=own"><b>Donate Points to Friends</b></a><br></br>
MY EDITS:
  1. Removed Underline: In my version of the link code I removed the underline from the link by removing the <u></u> from the original link code.
  2. Control Font Size: Added Font Size Code: Because the link code is now located above the avatar you need to tell the link to use a small font or else it might display too large and break to a second line. (This happens in the default theme). To solve this issue I added: <div class="smallfont"> to the start of the link.
  3. Relabeled: I relabeled the link to: "Donate Points to Friends" because I think it is clearer being labeled that way right under the experience bars which use the term "points".
Check out my screenshot...

Thanks for this edit! Now I have to learn how to make the experience bars show up in vbBlogs postbit as well as your cool donate link!
Attached Images
File Type: jpg Donate Link Above Avatar.jpg (55.2 KB, 0 views)
Reply With Quote
  #5  
Old 07-25-2009, 03:26 AM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install but not to get off topic where do u guys get them user bars from..in them pic?
Reply With Quote
  #6  
Old 07-27-2009, 08:15 AM
Prettyeyes4you Prettyeyes4you is offline
 
Join Date: Feb 2009
Location: Phoenix, AZ
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this, my owner has been asking for a donate function since I put experience in.

Maybe a foolish question, is this to donate points only, or can you also use it to send gifts.

We find it a bit complicated to have to buy something then have to go to your inventory then gift it. I had hoped that the new version of experience would allow a straight gift to someone, can your mod do this?

Also would it be possible to include a note with the donation, .I've been trying to get that into our experience, haven't quite got it right yet

Appreciate your work, just being to donate points is a BIG deal for us

Thanks
Reply With Quote
Reply

Thread Tools

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 11:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05892 seconds
  • Memory Usage 2,265KB
  • Queries Executed 20 (?)
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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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