![]() |
Quote:
But you'll need a plugin in order to set that variable up before the template is called (postbit). If you set the variable in your plugin, then when the template runs the conditional will trigger. However, before you set the variable you'll need to decide whether to set the variable. You'll have to build a database query to check the database to see if a donation has been made by this user. If it has, set it to true, if not, set to false. Note that this is a very quick and dirty method, and won't be very efficient. It will add a query for every post on the page. BUt if you don't have a really busy forum, it probably won't matter. If this is your first plugin go to the tutorials section for the basics of creating a product and a plugin. There are also tutorials on building a database query. |
^ Thanks for the reply I appreciate it and I appreciated the help you provided me with before ... Ummm, is there any other way to do it that's not using another query?
|
Quote:
|
ahhhhhh, I give up I read the tutorials and tried doing some stuff, but no luck (I've been sitting in this computer for hours, I haven't eaten anything yet, lol) - This php coding crap is just not for me, much props to all coders, I must say ... I'll just have to live without having an image displayed next to the member's username if they have donated. I'll stick to what I know (HTML, CSS, etc) ... PHP is not my thing hahah ...
I wonder if Cybernetec would consider this add-on as a feature in a new release of this Hack ... I'll cross my fingers. |
I know this has been asked numerous times, but i havent found an answer yet, i have installed this and upgraded to latest version, but i cannot get the donate link to appear in my navbar on my advanced cmps page and that is where i need it the most, how do i do this?
|
wireless0ne, did you follow the instructions for the customized styles?
In the navbar Template (You have to do this for each of your Custom Styles that you want to show the "Donate" link) - This is what I did and it shows on my vBadvance CMPS page FIND: Code:
vbphrase[user_cp]</a></td> Code:
$cyb_paypal_donate_link |
Quote:
Even i need solution to this problem. |
Alright guys try this instead ... If this doesn't work, then I dunno ...
In the navbar Template FIND: Code:
vbphrase[user_cp]</a></td> Code:
<td class="vbmenu_control"><a href="misc.php?do=donate">$vbphrase[cybpaypal_donate]</a></td> |
thank you, that worked.
|
Quote:
Don't give up! |
ok, new problem, my donators page is showing a donation from a member, but no donation is showing in my paypal account?
and is there a add-on bar to donation progress? |
Quote:
Quote:
|
I have two problems I need help with.
1st. When I tell it to add a link in my user cp, it doesnt do it. Any idea why? 2nd. What is the address to view the donators that have donated. I know the address for donating, but what about viewing the donors? Thanks, Soko |
Donate:
FORUM/misc.php?do=donate Donations: FORUM/misc.php?do=donlist |
Navbar => Quick Links => Misc =>
404 Not Found The requested URL /test_forum/index.p/misc.php?do=donlist does not exist. Is this because I do not have a Business or Premier account ? |
^ No that's because you are requesting the incorrect page ...
Quote:
Its suppose to be /test_forum/index.php/misc.php?do=donlist |
Quote:
omfg what a nooby mistake of me to overlook something that obvious :p thanks man :) |
v3.9.1 - Jul 23. 2007.
-Fixed security Exploits To upgrade: -Import product XML, allow overwrite. -Revert hack templates if any modified. |
Thanks cyb for fix the problem ... :) Updated
|
I noticed when checking to see if the paypal screen comes up and not submit payment..it still shows you as donating when you look it up under quick links..why is that?
|
This does do US dollars correct? Also does this put anything in the users profile/posts to indicated that he/she is a supporting member or donator?
SVT |
Quote:
|
us dollars and doesn't show on profile or in post.
|
When I go to http://www.mysite.com/forums/index.php?do=donate it just redirects me to the home page. Also I cannot find this..
Quote:
|
As I said it many times:
Donate page is here: FORUM/misc.php?do=donate NOT: FORUM/index.php?do=donate Donations listing is here: FORUM/misc.php?do=donlist NOT: FORUM/index.php?do=donlist |
great indeed...thanks for the update bro cyb... ;)
|
Cybernetic, thanks very much for the update, your code is much appreciated.
Just one question - What was the exploit and what was the fix? The reason I ask is that there were a few mods that were transferred to the "graveyard" when this exploit was announced. I can understand that the public was not told what the exploit was, only the authors. However, for the unsupported mods, this makes it difficult for the community to fix it themselves and those mods will just stay in the graveyard. I'd like to have a go at fixing one of the unsupported mods that I use and posting it up for everyone else. If you could please let me know what code was changed, I can see if I can apply it elsewhere. (To save me comparing the files for changes myself). If you don't want to post this here, then please PM me. |
Thank you for the update :)
|
For some reason people donate but I cannot see them on the donlist page to confirm them but it says their is 6 uncofirmed but I cant see nething.
|
I just installed this. It looks very nice! Is there a way to have the output of misc.php?do=donate appear in an AJAX pop-up from the navbar like the Quick Links?
|
i can't able to see the donator list do u know whts the url so i can see if is working directly
http://www.tamilthunder.com/forum/misc.php?donlist |
Check previous page.
|
dunno why but i click donate and just reload the page
|
Quote:
it still doesn't work |
Quote:
Code:
http://www.tamilthunder.com/forum/index.php/misc.php?do=donlist |
Cybernetec, why dont you just tell him what the problem is?
raagaswaram, since he wont tell you, I'll tell you ... It suppost to be this: Code:
http://www.tamilthunder.com/forum/misc.php?do=donlist cosy, make sure your using misc.php instead of index.php in your links (that's most likely the issue). Code:
http://www.yoursite.com/forum/misc.php?do=donlist Code:
http://www.yoursite.com/forum/misc.php?do=donate |
yes i use the link misc.php?do=donate
and on i get the smiles misc.php?do=donlist |
Hello,
thanks but that doesn't work too http://www.tamilthunder.com/forum/misc.php?do=donlist it goes the smilies page for some reason thanky ou Quote:
|
Quote:
|
Works for me too ... You have to Clear your Browser's Cache, that's most likely the issue ...
|
All times are GMT. The time now is 04:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|