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] problem with Teampage hack
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] problem with Teampage hack
PostPosted: 05/26/2007 3:04 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
I spent ages editing files etc before EM could install the mod, when it finally installed though and I checked to see if the extra settings were in the profile the page wouldn't load up.

I think it might be something to do with this part of the mod though I'm not 100% sure. Just this bit baffled me a bit so maybe I messed up somewhere I don't know

Code:
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
   <!-- END switch_avatar_local_gallery -->
   <!-- END switch_avatar_block -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
   <!-- BEGIN switch_team -->
   <tr>
     <td class="catSides" colspan="2" height="28">&nbsp;</td>
   </tr>
   <tr>
     <th class="thSides" colspan="2" height="25" valign="middle">{L_TEAM}</th>
   </tr>
   <tr>
     <td class="row2" colspan="2"><span class="gensmall">{L_TEAM_INFO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_REALNAME}:</span></td>
     <td class="row2">
      <input type="text" name="realname" class="post" size="30" maxlength="100" value="{REALNAME}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_ADRESS}:</span><br /><span class="gensmall">{L_TEAM_ADRESS_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" class="post" name="adress" size="30" maxlength="255" value="{ADRESS}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_BIRTH}:</span></td>
     <td class="row2">
      <input type="text" class="post" name="birth" size="2" maxlength="2" value="{BIRTH}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_PHOTO}:</span><br /><span class="gensmall">{L_TEAM_PHOTO_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" class="post" name="photo" size="30" maxlength="255" value="{PHOTO}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_SLOGAN}:</span></td>
     <td class="row2">
      <input type="text" class="post" name="slogan" size="30" maxlength="255" value="{SLOGAN}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_OPTIONAL}:</span><br /><span class="gensmall">{L_TEAM_OPTIONAL_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" class="post" name="opt_title" size="15" maxlength="100" value="{OPT_TITLE}" />&nbsp;&nbsp;<input type="text" class="post" name="opt_text" size="30" maxlength="255" value="{OPT_TEXT}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_WEBSITE}:</span></td>
     <td class="row2">
      <input type="radio" name="team_website" value="1" {SHOW_WEBSITE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="team_website" value="0" {SHOW_WEBSITE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_EMAIL}:</span></td>
     <td class="row2">
      <input type="radio" name="team_email" value="1" {SHOW_EMAIL_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="team_email" value="0" {SHOW_EMAIL_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_PM}:</span></td>
     <td class="row2">
      <input type="radio" name="team_pm" value="1" {SHOW_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="team_pm" value="0" {SHOW_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <!-- BEGIN about -->
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_DESC}:</span><br /><span class="gensmall">{L_TEAM_DESC_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" class="post" name="team_desc" size="30" maxlength="100" value="{TEAM_DESC}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TEAM_TEXT}:</span><br /><span class="gensmall">{L_TEAM_TEXT_EXPLAIN}</span></td>
     <td class="row2">
      <textarea class="post" name="team_text" style="width: 400px" rows="6" />{TEAM_TEXT}</textarea>
     </td>
   </tr>
   <!-- END about -->
   <!-- END switch_team -->


Also, the Teampage http://www.djpassions.com/team.php has a box there but there's nothing in it  dontknow

This is the hack I used: http://www.phpbbhacks.com/download/5164
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problem with Teampage hack
PostPosted: 05/26/2007 5:54 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: 5:17 AM
Location: St Pete, FL
peace.gif
Chris Powell wrote:
I spent ages editing files etc before EM could install the mod,

What files were you editing?  The only file that you should edit is the MOD script when attempting to install these MODs...

dontknow

The Team MOD had many, many errors that had to be fixed.  Here is a copy of the corrected MOD script.  It is installed and seems to be working on your board now:

Team_Page_200.zip

headbang
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] problem with Teampage hack
PostPosted: 05/26/2007 6:17 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
I think I edited theses ones so that they'd work with EM

admin/admin_users.php
admin/index.php
templates/subSilver/admin/user_edit_body.tpl

Also I had to edit this one templates/subSilver/profile_add_body.tpl  because EM had the coding written differently to the my original file

The install file said to find this

  <!-- END switch_avatar_local_gallery -->
  <!-- END switch_avatar_block -->

But in my templates/subSilver/profile_add_body.tpl

I had this

  <!-- END switch_avatar_local_gallery -->
  <!-- BEGIN switch_default_avatar_choose -->

This is the last one I edited which from there is where I think everything went a bit Pete tong

I see you changed the command from just this

FIND =    <!-- END switch_avatar_local_gallery -->
  <!-- END switch_avatar_block -->

to <!-- END switch_avatar_block -->

Man is this mod a mess or at least it was  Shocked


Last edited by Chris Powell on 05/26/2007 6:38 PM; edited 1 time in total
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] problem with Teampage hack
PostPosted: 05/26/2007 6:23 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
Btw I sent you a pm mate...  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problem with Teampage hack
PostPosted: 05/26/2007 6:45 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
Quote:

The Team MOD had many, many errors that had to be fixed.  Here is a copy of the corrected MOD script.  It is installed and seems to be working on your board now:

Team_Page_200.zip

headbang


I know  Shocked

Well, I see you have fixed the profile. That page loads up now and I see the Teampage works properly too niceone! But the rules page still isn't loading  dontknow it worked fine before I installed this mod I'm sure of it

I have a good backup of my forum files and sql database that I backed up before I installed this mod. If the viewing posts can't be fixed then I shall restore the whole lot and then install the Teampage mod you've modified and see if that corrects everything. If that doesn't work then I'd just leave this mod of as I guess it could just be interfering with the SEO software

My SEO software is more important than this mod so if I had to choose it'd be the SEO software and bye bye Teampage mod which would be a shame because it looks like a good mod Very Happy

Let me know what you think Nightrider headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problem with Teampage hack
PostPosted: 05/26/2007 6:58 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: 5:17 AM
Location: St Pete, FL
peace.gif
There was nothing that I could see in the Teampage MOD that would prevent the Rules page from displaying.  I can see that you have uninstalled the Teampage MOD and yet the Rules page still isn't working.  I don't think the Teampage MOD had anything to do with the Viewtopic page not working...

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: problem with Teampage hack
PostPosted: 05/26/2007 7:02 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: 5:17 AM
Location: St Pete, FL
peace.gif
The Simple close or delete a poll MOD caused the problem with the Viewtopic page.  I will look at it next to try to figure out why...

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] problem with Teampage hack
PostPosted: 05/26/2007 7:05 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
I haven't uninstalled the Teampage mod... I’ve been waiting to see what you thought first

I see the Teampage mod menu links aren't there but I think just forgot to add them?

If you goto http://www.djpassions.com/team.php the mod is still working *confused

I know what you mean about that it shouldn't have affected the viewtopic not working though

I'm not sure what's wrong
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problem with Teampage hack
PostPosted: 05/26/2007 7:09 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: 5:17 AM
Location: St Pete, FL
peace.gif
The Simple close or delete a poll MOD had many of the same problems found in the Teampage MOD.  These MOD authors don't understand the difference between the AFTER, ADD and IN-LINE AFTER, ADD commands, so they use them incorrectly.  And by doing so, the code is added incorrectly as expected.  I fixed the Simple close or delete a poll MOD script and reinstalled it and all is working correctly.  Then I reinstalled the other MODs that I uninstalled when trying to track down the culprit to the problem.  So everything seems to be working properly now...

banana
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: problem with Teampage hack
PostPosted: 05/26/2007 7:12 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 10:17 AM
Location: Birmingham, UK.
greatbrE.gif
Nightrider wrote:
The Simple close or delete a poll MOD caused the problem with the Viewtopic page.  I will look at it next to try to figure out why...

munky2


Okies
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
 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
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0875s (PHP: 67% - SQL: 33%) - SQL queries: 57 - GZIP disabled - Debug on