Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
Transfer Cash (Need Cash Mod Hack Installed)
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Add-on`s for your forum
Author Message
Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England
FLAGS
Add Comment
Show Comments
PostPosted: Wed Jan 02, 2008 3:21 pm  Reply with quote

This guide is for the transfer Cash mod which works along side the cash Mod.

To enable this hack to work you must have installed the Cash Mod Hack found HERE


The point of this hack is to allow members to donate money form one member to another, as long as they have the funds they can donate money to each other.

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

Ok all that done you now goto Your  admin panel ---  3. Styles --- Portal Settings

You will now see a screen that looks like this



If you do not  see the  portals named Xcash then Please go to the support forum and request admin adds them for you. (Please check properly first before requesting.)

Click On Xcash

You now see a screen that looks something like this.



Fill in the details to suit your needs. You can copy what i have in the picture this will work, or read the guide in the spoiler.

Spoiler:



Field name = Transfer cash(Its best to leave this but you can change if you wish)
Displayed title = Bank (you can Change this to what you want)
Topic display position = Under Avatar (Change this to suit you, or if you want to add it in yourself then leave as none, and follow the tips at the bottom of this guide.)
Profile Display = Works as above but this time shows in the members profile screen
Display Text = this will be the text that is shown on the link you click
Display Image =  cash.jpg (leave blank unless you want to show a picture link rather than a text link. (example at the bottom of this guide)

XProfile field = This must be the same as the name of your cash mod, for example if you followed the cash mod guide and called it CASH then this must be CASH
Action  This should be set as GIVECASH



Image Link

You must upload an image to your template and then just enter the name of the image for example cash.jpg


Now in the image to display box you would just add the name of your image for example cash.jpg

Now click Update.



And that is the basic guide on how to set up the transfer cash hack.


The guide below is for advanced users that wish to display the link or image else where.

Now you have two main places where This can appear.





Goto  admin panel ---   3. Styles ---  Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit


Now  look at the top in the area marked Choose Forum template/javascript/css File to Edit use the  drop down bar and find the correct file

For view (A)

profile_view_body.tpl

You should now see the code like this

Code:
 
    <tr>
                       <td valign="top" align="right" nowrap="nowrap"><span class="genmed">{L_INTERESTS}:</span></td>
                       <td> <b><span class="genmed">{INTERESTS}</span></b></td>
                     </tr>
     


So if you wanted it to appear after interests you would add

Code:
<tr>
       <td valign="top" align="right" nowrap="nowrap"><a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={USER_ID}&amp;xtransfer=CASH&amp;component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br /></td></tr>


Just below it so it may look like this.

Code:
<tr>
                       <td valign="top" align="right" nowrap="nowrap"><span class="genmed">{L_INTERESTS}:</span></td>
                       <td> <b><span class="genmed">{INTERESTS}</span></b></td>
                     </tr>

<tr>
       <td valign="top" align="right" nowrap="nowrap"><a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={USER_ID}&amp;xtransfer=CASH&amp;component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br /></td></tr>




For view (B)

Goto viewtopic_body.tpl

Now place where you wish it to be for my example if you wish it to be after location then find


Code:
{postrow.POSTER_FROM} <br />


And after place this code



Code:
<a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&amp;xtransfer=XCASH&amp;component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br />


So it may look like this.

Code:
<td class="post_post_details" align="left">
                        {postrow.POSTER_JOINED}<br />
                        {postrow.POSTER_POSTS}<br />
                        {postrow.POSTER_FROM}<br />

<a href="javascript:void(0)" onclick="window.open('xtransfer.php?userid={postrow.POSTER_ID}&amp;xtransfer=XCASH&amp;component=XCASH', '_xtransfer', 'resizable=yes,width=500,height=360')">Transfer cash<br />





Screen Shots.


(A) In profile view

Image Link



Text link



(B) In Topic view






And Thats HOWTODOIT

View user's profile Send private message Visit poster's website FACEBOOKSTEAM
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Add-on`s for your forum


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

HOWTODOIT was designed and built by Symon Field
Creator Of ☆ ☆ FunnyWorld
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 
Create your own free forum | Buy a domain to use with your forum