The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
This is the postbit. You can see there the paypal. That generates a button, but when I click it, I`m redirected to the inline mod.
PHP Code:
|
#12
|
||||
|
||||
![]()
If you use $bbuserinfo[field5], that will be the value for the user CURRENTLY logged in and viewing the post. You need to use $post[field5].
|
#13
|
||||
|
||||
![]()
Even if I use that value, the system still doesn`t send me to paypal !
PS. Thanks for the info though. So what should I add so when a user posts a thread, the email would be taken from his profile ? Like using $post[musername] to take a field value from the user ? |
#14
|
||||
|
||||
![]()
Yes, that would be the username of the poster.
|
#15
|
||||
|
||||
![]()
Ok, but how can I get a field value from a user ?
The profile value of the poster...I have field5 created...how can I get that value from the user ? |
#16
|
||||
|
||||
![]()
$post[field5] should be doing exactly that. Try changing it to $post['field5']?
![]() |
#17
|
||||
|
||||
![]()
It`s like this, users make posts, and in each postbit, I would get under the poster, a paypal donate button, with the email taken from the posters profile..I tried the $post with ''
Quote:
|
#18
|
|||
|
|||
![]()
I have been trying the same thing on my forum. I have been getting the same thing you have for a week now. Have you had anymore luck with it?
|
#19
|
||||
|
||||
![]()
Hm. The thought just occurred to me that the values aren't processed until the paypal site (since that's where the form submit is) and that by the time you get to that stage any post value is meaningless since you've left the forum.
Perhaps? |
#20
|
|||
|
|||
![]()
Yes that is a good point. I can get this to work in IE but not Fire Fox. In IE it lets you goto the paypal site but it does not have the paypal email any more and throws up an error.
So any ideas on how we could do this? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|