admin (no pm's please)
|
New XTRANSFER/XCASH portal, + auto display on some portalsThe XTRANSFER portal gives people the option to donate a part of an XPROFILE field to another user.
In the portal settings I have provided a base instance of this called XCASH which deals with the CASH XPROFILE field.
You will now see in XCASH, KARMA, ADDRATING, COMMENT portals that there are options for automatically displaying text or an image in topics and user profiles.
This is a little less flexible than adding the code to a template yourself, but is obviously a whole lot easier.
|
Symon
|
Is this live now or does any edits need to be made as i tired and guess what ?? ok i want say it.
It does appear before avatar as requested but once you click on it it trys to open /xtransfer.php
with the error of
Not Found
| Quote: | The requested URL /xtransfer.php was not found on this server.
Apache/2.0.52 (CentOS) Server at facebookappchat.co.uk Port 80 |
www.facebookappchat.co.uk
|
Symon
|
Oh and for some reason it appears twice in the same place
http://facebookappchat.co.uk/sutra22.php#22
But only the title appears in viewprofile
|
Symon
|
Update to this i just see it in viewprofile but not set right ,, think this template has a bug for this.
And appears to work in viewprofile
But once again i can not read the text due to the blue background.
|
admin (no pm's please)
|
First error was a missing file
Second error. Guess what!
You must give the (myfree/myfast/myfine)forum.org link to your forum. A link should be given to the problem if at all possible. Do this whether you think it is important or not.
|
Symon
|
| admin (no pm's please) wrote: | First error was a missing file
Second error. Guess what!
You must give the (myfree/myfast/myfine)forum.org link to your forum. A link should be given to the problem if at all possible. Do this whether you think it is important or not. |
I can count at least 3 links
http://facebookappchat.myfreeforum.org
|
Symon
|
Still showing 2 links in the post
I,m working on the viewprofile one as this template loves to screw up auto display on these type of edits,,
I tried to add in myself using {XCASH} but instead of showing the transfer money link all i see is an etc cash mod link which is called bank, and displays title only.
http://facebookappchat.myfreeforu...file.php?mode=viewprofile&u=2
Also if for some strange reason and i,m sure they will try as i have, you try and transfer money to yourself you lose the amount of money to try to transfer, not major just a silly thing i tried.
|
admin (no pm's please)
|
link doubling now fixed.
transfer to self is meant to be blocked. Obviously a bug there.
|
admin (no pm's please)
|
transfer to self should now be blocked.
|
Symon
|
| admin (no pm's please) wrote: | | transfer to self should now be blocked. |
It is now blocked and double link has been sorted .
thanks
Now the last one is the correct macro ?
Should it be {XCASH} if you wish to move it around
|
admin (no pm's please)
|
| Symon wrote: |
I tried to add in myself using {XCASH} but instead of showing the transfer money link all i see is an etc cash mod link which is called bank, and displays title only. |
there is no template for these portals. They would need to be added manually in the fashion things like "add comment" have alwasy been done.
|
Symon
|
Hm ok
When time allows is it possible to look at vista x and see why it plays havoc with auto display.
As anyone using this template will not be able to display these hacks correctly.
|
Symon
|
| admin (no pm's please) wrote: | | Symon wrote: |
I tried to add in myself using {XCASH} but instead of showing the transfer money link all i see is an etc cash mod link which is called bank, and displays title only. |
there is no template for these portals. They would need to be added manually in the fashion things like "add comment" have alwasy been done. |
Got the pop up to work but getting either no userid if i remove the userid (of course it would) or if i leave the userid in i get this error
No transfer allowed of
using code (which is wrong )
| Code: | <tr>
<td valign="top" align="right" nowrap="nowrap"><a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={USER_ID}&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br/></span></td></tr> |
So i,m guessing it thinks i,m trying to transfer to myself as i,m using userid
http://facebookappchat.myfreeforu...file.php?mode=viewprofile&u=6
|
admin (no pm's please)
|
<tr>
<td valign="top" align="right" nowrap="nowrap"><a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br/></span></td></tr>
is more like it.
|
Symon
|
| admin (no pm's please) wrote: | |
<a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br/> |
is more like it.
I if put above code in viewtopic_body on click it shows up with
profile_view_body shows on click
|
admin (no pm's please)
|
| admin (no pm's please) wrote: | <tr>
<td valign="top" align="right" nowrap="nowrap"><a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&xtransfer=XCASH&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br/></span></td></tr>
is more like it. |
corrected version.
|
Symon
|
Sorry no difference still shows as no user
|
admin (no pm's please)
|
The link i gave was for the topic, are you in the profile?
|
admin (no pm's please)
|
In profile it would be:
<a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={USER_ID}&xtransfer=XCASH&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br/>
|
Symon
|
Thank you all working now
So
Guide done.
http://howtodoit.myfreeforum.org/...component=content&topicid=721
|
admin (no pm's please)
|
Nice guide
Making these portals more automatic makes me wonder about others that could be done this way.
Tomorrow I will try and create an Online/Offline portal in the same fashion.
|
DSi
|
Thanks for the guide, I have put it on my forum
A couple of errors I found in the guide:
In the part where it is explaining how to place the transfer cash link in the profile view and topic view:
The code should be: | Code: | | <a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&xtransfer=XCASH&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br /> |
The < /a > is missing, which could cause problems in other parts of the template.
The link in the profile view does not work when using that code, for the profile view, the {postrow.POSTER_ID} should be changed to {USER_ID}
Thanks for the guide Symon, and nice job with the mod admin
|
Symon
|
| DSi wrote: | Thanks for the guide, I have put it on my forum
A couple of errors I found in the guide:
In the part where it is explaining how to place the transfer cash link in the profile view and topic view:
The code should be: | Code: | | <a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&xtransfer=XCASH&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br /> |
The < /a > is missing, which could cause problems in other parts of the template.
The link in the profile view does not work when using that code, for the profile view, the {postrow.POSTER_ID} should be changed to {USER_ID}
Thanks for the guide Symon, and nice job with the mod admin  |
Not sure which guide you are reading
Agreed the is missing but the guide has the corect links for profile view ?
|
Manz
|
when you transfer the cash to the other member and enter the amount to give, after you press submit, it says "No User" with a white background?
|
Symon
|
| Manz wrote: | | when you transfer the cash to the other member and enter the amount to give, after you press submit, it says "No User" with a white background? |
Have you followed just the basic guide ??
And a link would be good
|
admin (no pm's please)
|
To me that sounds like the template has been edited and broken?
But it is so important to tell us what you have done....
|
DSi
|
| Symon wrote: | | DSi wrote: | Thanks for the guide, I have put it on my forum
A couple of errors I found in the guide:
In the part where it is explaining how to place the transfer cash link in the profile view and topic view:
The code should be: | Code: | | <a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&xtransfer=XCASH&component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash</a><br /> |
The < /a > is missing, which could cause problems in other parts of the template.
The link in the profile view does not work when using that code, for the profile view, the {postrow.POSTER_ID} should be changed to {USER_ID}
Thanks for the guide Symon, and nice job with the mod admin  |
Not sure which guide you are reading
Agreed the is missing but the guide has the corect links for profile view ? |
Ah I see you're right, I tried to use the code for the viewtopic_body.tpl in the profile_viewbody.tpl
|
Manz
|
| Symon wrote: | | Manz wrote: | | when you transfer the cash to the other member and enter the amount to give, after you press submit, it says "No User" with a white background? |
Have you followed just the basic guide ??
And a link would be good |
i have not added it to my forum, but other forums that have it, like facebookappchat and 24 forum... when i click on submit after entering the amount, it says "No user" with a white background..
and when i tried it, i followed the basic guide, but then it wasn't working so i removed it.. i done exactly what it says here
http://howtodoit.myfreeforum.org/...component=content&topicid=721
but it wasnt working so i removed it..i kept getting the "no user" when you transfer on all forums that have this installed..?
|
Symon
|
Have just tried this myself and had 10 credits and transferred them to andrew but got a
You cannot transfer that amount
warning but the credits were removed.
http://facebookappchat.myfreeforum.org
also when a guest tries to transfer money you get the message
Guests cannot transfer anyhting
anything is spelt wrong.
|
admin (no pm's please)
|
| Symon wrote: | Have just tried this myself and had 10 credits and transferred them to andrew but got a
You cannot transfer that amount
warning but the credits were removed.
http://facebookappchat.myfreeforum.org
also when a guest tries to transfer money you get the message
Guests cannot transfer anyhting
anything is spelt wrong. |
I think the credits are reported removed, but were not actually removed.
Either way that and the spelling is now correct.
|
Manz
|
The Transfer/Donate cash only works on firefox and not on IE.. when its done on IE, you get this message
|
Symon
|
Just tested it on ie 7 and agreed it does not work.
|
admin (no pm's please)
|
Can't deal with this now, but this will be a template issue, the hidden fields in the form not working with ie. The positions of the form tags will be to blame in some way.
|
|
|