PDA

View Full Version : Add-On Releases - EG - Donation link in postbit for users


mac27
02-15-2007, 10:00 PM
I have wanted this hack for a while now. I decided to try and make it. So I did. Here it is. :D

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

<if condition="in_array($forum[forumid] ,array(X,X))">

and add this at the very end of it

</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.

mac27
02-16-2007, 05:40 AM
Reserved..

sensimilla
02-16-2007, 06:19 AM
Id love to see it Ajax based like here at vb.org

Thanks , nice idea!

mac27
02-16-2007, 07:24 AM
Id love to see it Ajax based like here at vb.org

Thanks , nice idea!

Thanks. I will keep updating it as I learn more. So make sure to click install so when I do update it you will know.

ChurchMedia
02-16-2007, 05:36 PM
Great way to keep my members who do graphics at my site happy. Thanks!

mac27
02-16-2007, 08:25 PM
Your very welcome. :D I use it for my graphics forum also. Let me know how it works out for you.

MissKalunji
02-17-2007, 03:16 AM
very interesting im gon install

t3nt3tion
02-17-2007, 09:27 PM
Thanks for taking the time to do it :), thanks for listening to my thread. ;)
Installed and nominated ;)

mac27
02-17-2007, 09:51 PM
Thanks for taking the time to do it :), thanks for listening to my thread. ;)
Installed and nominated ;)

Hey you are welcome. Thanks for the nomination. :D

cybrnetico
02-18-2007, 02:15 AM
oh this is awesome

mac27
02-18-2007, 06:55 AM
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.

Added a screen shot for you to see what I mean.

soletrader
02-18-2007, 10:14 AM
Is it possible to set is so that it only appers in select forums?

mac27
02-18-2007, 10:18 AM
At this time no sorry. I can look into this though. That is a good idea.

t3nt3tion
02-18-2007, 10:21 AM
You can use :

<if condition="$forum[forumid] == X">
$egdonate
</if>

where X is the forumid.

t3nt3tion
02-18-2007, 10:22 AM
That`s a manual edit, but I don`t think it would be hard to integrate. You can just edit the egdonate template, so you don`t have to edit the postbit template directly.

mac27
02-18-2007, 10:25 AM
You can use :

<if condition="$forum[forumid] == X">
$egdonate
</if>

where X is the forumid.

I can take this and see what I can do with it. If it works. Then I can probably just make an option in the vboptions so that you can just input the forums you want it in.

Thanks for that T3nt. Was the update what you were talking about in the other thread?

t3nt3tion
02-18-2007, 01:40 PM
Which update ?

mac27
02-18-2007, 07:55 PM
The one that is up now. It makes it so you can use buttons or text links.

mac27
02-24-2007, 01:56 PM
Is it possible to set is so that it only appers in select forums?


I added the code on how to do this to the first post. So you can follow the step and achieve this now. Thanks for the suggestion.

JadedSouls
07-23-2007, 11:19 PM
*saving for later - clicked install*

wengi
09-25-2007, 09:52 PM
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

katie hunter
09-26-2007, 01:40 AM
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.

Masiello
10-02-2007, 01:03 PM
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

wickedstangs
10-25-2007, 01:14 AM
+1 Does this work with 3.6.8?

mac27
10-25-2007, 02:23 AM
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.

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.

+1 Does this work with 3.6.8?

Yes I have tested this on the latest version of vB.

wickedstangs
10-25-2007, 04:36 AM
Works Awesome Thanks Marked Installed..
http://www.wickedstangs.com/LegPostbit.gif

puertoblack2003
07-30-2008, 02:09 PM
can this be updated for 3.7.2?:up:

Welshy2008
08-18-2008, 02:58 PM
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. :))

Welshy2008
08-21-2008, 01:19 PM
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.

Kenas
01-03-2012, 10:49 AM
Hi, is this working for v. 4.x ?
Ty !

hyperspin
02-18-2012, 05:22 AM
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.I'm also looking to restrict this to a specific usergroup.