Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adding PayPal.me Link to User postbit Details »
Adding PayPal.me Link to User postbit
Mod Version: 1.00, by scottkoz20 (Designer) scottkoz20 is offline
Developer Last Online: Sep 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (2 votes - 4.50 average) Installs: 4
Released: 18 Feb 2018 Last Update: Never Downloads: 4
Not Supported Template Edits Additional Files Re-usable Code Is in Beta Stage  

This is my first modification I have decided to publish - I am not really great at the programatic functionality of vB. But this was something request and thought it would be a good add for my site.

Adding a PayPal.me Link and the ability to indicate if a member has a verified PayPal Account.

The steps are fairly straight forward, but does require some template and profile hacks as well as image uploads.

1) Download the images and upload them to your forums images/misc directory

EDIT - I can't get the zip to upload, here are the images I used - upload these to your images/misc directory

1 - Paypal.me -
2 - PayPal Verified -


2) Need to add 2 Profile Fields (Admincp->User Profile Fields->Add New User Profile Field)
Note - I added a Profile Group Called PayPal

Field 1 - Single Line Text
Name - PayPal.me username (Note: The user will need to go to paypal.me and create a personalized link ie: paypal.me/username )
Description - If you want to build a PayPal.me Link, go to paypal.me and create your personal link. Only enter the username you select.
Field Required - No
Editable - Yes
Private, Searchable, Show on Memberlist - No
Rest leave as default (unless you wish to set this)

Field 2 - Single Selection Menu
Name - PayPal Verified?
Description -

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Field Required - No
Editable - Yes
Private, Searchable, Show on Memberlist - No
Rest leave as default (unless you wish to set this)

Make sure that you jot down the field ID numbers!

3) Now go to Styles & templates->Style Manager->Edit Template of the Style you wish to change

Find the postbit or postbit_legacy template (depends which one you are using for your forum) - Doubleclick to Edit
Note - I used postbit_legacy but this should be the same for postbit

Find the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below, add the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Note - Make sure you replace the XX's in the fieldXX with your fieldid from the Profile Field setup


4) Test!

Profile Fields Added


Postbit once Profile Information is added



5) Alert your members


Notes -
1st release on 17 Feb 2018
Correction (18 Feb 2018) - Fixing missing Anchor close

Updated Images - If you want a vector png file, please see post 5 - https://www.vbulletin.org/forum/show...94&postcount=5

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Feb 2018, 01:11
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
reserved


Note - If you want to take this can expand upon it, go for it, just make sure I am acknowledged

Last edited by scottkoz20; 18 Feb 2018 at 01:25.
Reply With Quote
  #3  
Old 18 Feb 2018, 04:20
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Thanks for that, the only thing that's needed now is to restrict users from being able to enter in a paypal profile. Or another idea that I had was to not show the paypal button in a thread if users aren't in a certain usergroup.

Can be done by entering in which usergroup has access to it. I'll give it a go on monday to try out the modification.

Also original credit goes to mac27 for his original mod, a decade ago.
Here are properly renamed images.

Oh and you forgot to close the anchor in the code btw.
Attached Files
File Type: zip images.zip (5.9 KB, 5 views)

Last edited by final kaoss; 18 Feb 2018 at 05:49.
Reply With Quote
  #4  
Old 18 Feb 2018, 20:08
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
thanks for the heads up on the anchor close. Corrected the code
Reply With Quote
  #5  
Old 18 Feb 2018, 22:01
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Great addition!

Had to make a new paypal.me for a site, its a png for transparency as it that site has multiple styles, if anyone uses it, fix the path in the profile field.
Attached Images
File Type: png paypalme-2.png (5.6 KB, 4 views)
File Type: png paypalv.png (4.1 KB, 109 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:54.

Layout Options | Width: Wide Color: