Current time: 03-19-2024, 03:19 AM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[54.84.65.73], connected from Ashburn, Virginia United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Easy donation bar
05-04-2010, 11:47 AM
Post: #1
Easy donation bar
When we're healthy, then you can, please. A lot of my request will not be.
A very simple bar would be the case, which would be in the header. I would like to specify how much money would be needed and how it is. The currency is not $, but it would be Ft.
A short text on its own would be above or below the bar. The display would be like this:
[Image: donation_drive_progress.png]
I do not want to use PayPal, the values I want to give. But if you want, then you will do it for the rest of the paypal version as well. Or a combination of both.

atomjani's signature Thanks the all help, they are helpful:
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2010, 01:04 PM
Post: #2
RE: Easy donation bar
This could be an easy plugin to do, but it depends on how you will feed the plugin with the new values?

You would need a way to update the actual value somehow, if you have a PayPal API system then it could be modified to update the bar settings directly. Otherwise you could adjust the settings yourself manually in the AdminCP settings section...

exdiogene's signature MyBBCodes.com administrator
Cool " It is not what you know that matters, it is what you do or do not do!"
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2010, 01:06 PM
Post: #3
RE: Easy donation bar
P.S. It would be even easier if you do not need the round corners of the light grey bar, this way you could adjust the colors of each elements and be compatible to all kind of browsers.

exdiogene's signature MyBBCodes.com administrator
Cool " It is not what you know that matters, it is what you do or do not do!"
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2010, 01:44 PM
Post: #4
RE: Easy donation bar
I like add all value in Admin Panel. De seperate is not ",", we like " " seperate in number. Example 1 800 Ft.
The picture is ok. I needn't round corners.

atomjani's signature Thanks the all help, they are helpful:
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2010, 02:00 PM
Post: #5
RE: Easy donation bar
I could put this bar under the logo, to the right of the logo, under the header or under the footer by just adding this item to an already existing plugin named "Header/footer manager" that i did not published already.

Maximum and actual values of the bar would be text settings that you could put whatever you want in it...

I will keep this in my ToDo list also...

exdiogene's signature MyBBCodes.com administrator
Cool " It is not what you know that matters, it is what you do or do not do!"
Visit this user's website Find all posts by this user
Quote this message in a reply
10-31-2012, 10:00 AM
Post: #6
RE: Easy donation bar
hey Rej ! Its been a while UHH)
Have you ever released that plugin ?

I am looking for a donation bar like that but I would like mine to have a setting that would allow me to put the bar in a certain post itself. We are trying to raise money for one of our member and we don't want him to know about it so a donation bar on the index page wouldn't be useful for us.

It doesn't need to be integrated with paypal at all, I could add the numbers to the bar myself.

thanks
Visit this user's website Find all posts by this user
Quote this message in a reply
10-31-2012, 07:38 PM
Post: #7
RE: Easy donation bar
This could also be easily achieved with a simple MyCode like this :
PHP Code:[Highlight]
\[bar=(.*?)\]([0-9]+)(.*?)\[/bar\] 

PHP Code:[Highlight]
<div style="background-color:#ff0000;border:1px #ff0000 solid;width:$1"><div style="background-color:#00ff00; width:$2$3; text-align:center;">$2</div></div

With something like this "[bar=200px]40%[/bar]" you will see a bar of 200 pixels wide and 40% of it filled.

40

With something like this "[bar=50%]160px[/bar]" you will see a bar 50% wide and 160 pixels of it filled.

160

So for donation you would use someting like "[bar=500px]160px[/bar]" to indicate an actual 160$ over the 500$ expected :

Actual donation for the 500$
160

exdiogene's signature MyBBCodes.com administrator
Cool " It is not what you know that matters, it is what you do or do not do!"
Visit this user's website Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Donation meter black 1 1,917 11-03-2010 07:13 AM
Last Post: black

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com