Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Missing Donate button
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Missing Donate button
PostPosted: 03/30/2007 7:32 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 12:10 PM
Location: Denver, PA
usaCa.gif
Hi Nightrider!

I have been informed by my members that part of the cash mod is missing. With the cash mod came an option when looking at someone's profile that would allow you to donate money (or modify their cash if you were an admin).

They assure me that the option was there before I did those 2 mods that I talked about earlier this week. The extreme styles mod and the simple image upload mod.

This once again confuses me because both mods only edit one file.

I have gone through my old template.php file and can't find anything to help with this situation. If it really did have to do with those mods I don't know what went wrong where. I have also gone through the cash mod edits and made sure every one of them is there, and they are. In my profile_view_body.tpl I do have the code that is trying to pull that information.

Code:
        <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_OCCUPATION}:&nbsp;</span></td>
        <td><b><span class="gen">{OCCUPATION}</span></b></td>
      </tr>
      <tr>
        <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
        <td> <b><span class="gen">{INTERESTS}</span></b></td>
      </tr>
      <tr>
        <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_BIRTHDAY}:</span></td>
        <td> <b><span class="gen">{BIRTHDAY}</span></b></td>
      </tr>

      <tr>
        <td valign="top" align="right" nowrap="nowrap"><span class="gen">{INVENTORYLINK}</span></td>
        <td> <span class="gen">{INVENTORYPICS}</span></td>
      </tr>
         {CASH}

     </table>


Do you know where the {CASH} is being pulled from? Maybe that is where the problem is?

This is on DM, although I checked and it's not working for FT either.[/table]
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: Missing Donate button
PostPosted: 03/30/2007 2:04 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 12:10 PM
Location: St Pete, FL
peace.gif
I really couldn't find anything wrong.  It appears though that this might be caused by eXtreme Styles.  For some reason, the cash_viewprofile.tpl file wasn't being displayed.  By moving the code from the cash_viewprofile.tpl file to the profile_view_body.tpl file, the Cash MOD values and links appear in the Proflle again.  This is only a workaround to the problem since I couldn't see any other flaw to fix...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Missing Donate button
PostPosted: 03/31/2007 7:13 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 12:10 PM
Location: Denver, PA
usaCa.gif
Wow Nightrider. Thank you so much, that was a great workaround. I am still pretty new to phpbb and am still learning what is where and how the files all work together. So if there a code inside {thesebrackets} in a .tpl file, that means it is pulling the html code from a seperate .tpl file? That will be very helpful to know next time. Thank you for helping me again.  flower
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: Missing Donate button
PostPosted: 03/31/2007 10:49 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 12:10 PM
Location: St Pete, FL
peace.gif
Actually everything that is enclosed in curly brackets is a variable.  The variable can contain many different values such as text, numbers, and web pages.  In this case, the {CASH} variable contained the cash_viewprofile.tpl file.  So since I couldn't find anything wrong with the code, I simply bypassed the variable by pasting the contents of the cash_viewprofile.tpl file below the {CASH}.  So if the {CASH} variable ever starts working again, you will see a double listing of the Cash links in your Profile.  I doubt that will happen though.  I wish I could have actually found the cause of the problem and corrected it because there is a possibility that this problem will rear its ugly head again on another MOD.  But for now, this workaround solves the problem...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Missing Donate button
PostPosted: 04/01/2007 9:41 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 12:10 PM
Location: Denver, PA
usaCa.gif
Thank you for the explanation. This is now the second time something has gone wrong that could possibly come back with future mods. I am so lucky I found the best phpbb support site on the net!  headbang
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: Missing Donate button
PostPosted: 04/01/2007 9:49 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 12:10 PM
Location: St Pete, FL
peace.gif
That makes me feel good that you said that Sarah.  I really appreciate the compliment...

I hope this doesn't come back to haunt you in a future MOD.  Maybe some where along the way we will figure out why this is happening and fix it...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0887s (PHP: 51% - SQL: 49%) - SQL queries: 45 - GZIP disabled - Debug on