Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
EG - Donation link in postbit for users Details »»
EG - Donation link in postbit for users
Version: 1.2, by mac27 mac27 is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 02-15-2007 Last Update: 02-17-2007 Installs: 27
Uses Plugins Template Edits
Additional Files  
No support by the author.

I have wanted this hack for a while now. I decided to try and make it. So I did. Here it is.

This is only my 3rd hack so be nice. I am still learning. I will do my best to support this hack. If you want support click install.

What this hack does:
This hack allows users to place a donate link in their postbit. If your users release hacks or graphics for FREE for others to use then this is for them. The user can enter their paypal email in the userCP under profile. They can also select if they are paypal verified or not. If they select yes they are paypal verified then a link will show up so other users can verify it before making donations to them.

New Templates:1
New user fields: 2
Template edits: 2
Time to install: 1-3 minutes
Images to upload: 2

You can edit the link titles to your likes and you can change the currency to your preference in the adminCP> vboptions.

I have added some screen shots for you to see what it does.

Also the links have the nofollow tag and open in a new window.

I hope this comes in handy for your forum.


To control which forums this shows in do the following:

Open the eg_donate template. At the very beginning of the template add this
PHP Code:
<if condition="in_array($forum[forumid] ,array(X,X))"
and add this at the very end of it
PHP Code:
</if> 
Make sure to change the X's above to the forum you want this to show up in. Separate them with a comma. Do not use this if you want it to show in all forums.

Thanks to Paul M and SkyCatcher for help.

Update Version 1.2
I made it so the admin can use either buttons or text links. You can decide this in your adminCP. Did this by request.

NOTE: If you find that your template did not get updated then you will have to remove the old template. This only takes about 5 seconds to do. Instructions on how to do so is in the Upgrade Instructions. Sorry for this inconvenience but when imported it is upgrading everything but the template. I am looking into this.

Added a screen shot for you to see how the buttons look.

Upgrade instructions are in the ZIP file.

Show Your Support

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

Comments
  #22  
Old 09-25-2007, 09:52 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to choose which usergroup can add the paypal account to his postbit !!! like for example just add it to designers or to coders !! if so is possible that would be gr8 and suits what i am looking for

Regards
Wengi
Reply With Quote
  #23  
Old 09-26-2007, 01:40 AM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hii! It is a nice mod but I am having difficulties installing it, first I am using VB 3.6.7 will it work on that version ?

Also , so far i uploaded the gif pic in to misc folder and uploaded the xml product but next step this part , I don't get it ? in the description should i insert my paypal address ?

Title: Email Address To Receive Donations
Description: Enter your Paypal email address: (<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run" target="_blank" rel="nofollow">Do You Need A Paypal Account?</a>)
Default calue: Leave blank
Max length of allowed user input: Whatever you want. I used 100.
Field Length: 50
Profile Field Type: Single-Line Text Box
The rest of the settings are up to you.

Display Page: Profile

After you are done and cicked on save. Write down the field ID number. You will need this again.

************************************************** ********************

User Field 2: Single Selection Radio buttons

Title: Paypal Verified
Description: If you are paypal verified then select yes. If not select No.
Items Per Line: 0
Options: Yes No (Make sure each word is on it's own line.)
Set Default: I have NO. This is up to you.
Rest of this box is up to you on how you want to set it up.

Next box: Optional Input
Set to NO.

And last part where would I insert my paypal address ?

Thanks.
Reply With Quote
  #24  
Old 10-02-2007, 01:03 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I need this to for my site to support all my staff members but for first I want to know if it works on vB 3.6.8 and if possible for the imminent release of vB 3.6.9 if the coder keep this up to upgrade to a new hack version.
Thanks
Reply With Quote
  #25  
Old 10-25-2007, 01:14 AM
wickedstangs wickedstangs is offline
 
Join Date: Mar 2007
Location: San Diego
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 Does this work with 3.6.8?
Reply With Quote
  #26  
Old 10-25-2007, 02:23 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by katie hunter View Post
Hii! It is a nice mod but I am having difficulties installing it, first I am using VB 3.6.7 will it work on that version ?

Also , so far i uploaded the gif pic in to misc folder and uploaded the xml product but next step this part , I don't get it ? in the description should i insert my paypal address ?

Title: Email Address To Receive Donations
Description: Enter your Paypal email address: (<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run" target="_blank" rel="nofollow">Do You Need A Paypal Account?</a>)
Default calue: Leave blank
Max length of allowed user input: Whatever you want. I used 100.
Field Length: 50
Profile Field Type: Single-Line Text Box
The rest of the settings are up to you.

Display Page: Profile

After you are done and cicked on save. Write down the field ID number. You will need this again.

************************************************** ********************

User Field 2: Single Selection Radio buttons

Title: Paypal Verified
Description: If you are paypal verified then select yes. If not select No.
Items Per Line: 0
Options: Yes No (Make sure each word is on it's own line.)
Set Default: I have NO. This is up to you.
Rest of this box is up to you on how you want to set it up.

Next box: Optional Input
Set to NO.

And last part where would I insert my paypal address ?

Thanks.
Just set up each new profile field just it says in the instructions. Those are setup so each user can enter their own info in the userCP. Use the exact wording I used. Do not put your personal info in when setting up the user fields.

Quote:
Originally Posted by Masiello View Post
Hello, I need this to for my site to support all my staff members but for first I want to know if it works on vB 3.6.8 and if possible for the imminent release of vB 3.6.9 if the coder keep this up to upgrade to a new hack version.
Thanks
I will do my best to keep this up to date with each new release, but I can't see as to why it won't work on all new releases. It does not do any major changing to templates.

Quote:
Originally Posted by wickedstangs View Post
+1 Does this work with 3.6.8?
Yes I have tested this on the latest version of vB.
Reply With Quote
  #27  
Old 10-25-2007, 04:36 AM
wickedstangs wickedstangs is offline
 
Join Date: Mar 2007
Location: San Diego
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Awesome Thanks Marked Installed..
Reply With Quote
  #28  
Old 07-30-2008, 02:09 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be updated for 3.7.2?:up:
Reply With Quote
  #29  
Old 08-18-2008, 02:58 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
Sorry for sounding a noob, but I have uploaded the XML file to my adminCP. Where exactly is the place and how do I get to it - to change the two fields, Please?

I am running version 3.6.8 Patch Level 2.


Many Thanks.

I have since found out with a little help from our friends over at vBulletin.COM....


Admin CP -> User Profile Fields -> Add New User Profile Field


(For the benefit of others. )
Reply With Quote
  #30  
Old 08-21-2008, 01:19 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wengi View Post
Is it possible to choose which usergroup can add the paypal account to his postbit !!! like for example just add it to designers or to coders !! if so is possible that would be gr8 and suits what i am looking for

Regards
Wengi


Is the above possible Please? No-one has replied to Wengi's question. This is exactly what I would nee it for too.

Many Thanks.
Reply With Quote
  #31  
Old 01-03-2012, 10:49 AM
Kenas Kenas is offline
 
Join Date: Mar 2011
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, is this working for v. 4.x ?
Ty !
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 03:57 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.04599 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete