myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


phpBB robots.txt
Goto page Previous  1, 2
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Search Engines
View previous topic :: View next topic  
Author Message
Symon
Moderator
Moderator

Virtual Cash: 27660

Joined: 04 Sep 2005
Posts: 11052
Location: Hampshire,England
Add Karma

rated by 84 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:29 pm    Post subject: Reply with quote

Well that solved that but i think this is one major bugging mod as there is now another parse error

Quote:
Parse error: parse error, unexpected T_STRING in /home/symon/public_html/forum/index.php on line 689





So where i have edited it using the codes all seem to incorrect.

I will look for a better solution as i know time is money
Code:
' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';



_________________


http://www.saynoto0870.com/

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42910

Joined: 22 May 2005
Posts: 19348

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:39 pm    Post subject: Reply with quote

That is an incomplete line, the line(s) above are needed to make sense of it.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 27660

Joined: 04 Sep 2005
Posts: 11052
Location: Hampshire,England
Add Karma

rated by 84 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:52 pm    Post subject: Reply with quote

buggy index

Click to download file

working index before changes made in that mod


Click to download file
_________________


http://www.saynoto0870.com/

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42910

Joined: 22 May 2005
Posts: 19348

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 6:05 pm    Post subject: Reply with quote

In the new file you have inexplicably:

Code:

   /*

$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';

*/

' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';


compared to the old:
Code:

$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';


I think you want to replace that bit which is a mess, with the old code. I can't see instructions for actually changing this bit anyway.

The more I see of this, the more I believe what I have been saying all along about the dangers of applying mods without reading and understanding what each line is actually doing.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 27660

Joined: 04 Sep 2005
Posts: 11052
Location: Hampshire,England
Add Karma

rated by 84 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 6:15 pm    Post subject: Reply with quote

Code:
#
#-----[ FIND ]------------------------------------------
#

$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';

#
#-----[ REPLACE WITH ]------------------------------------
#

/*
$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
*/

_________________


http://www.saynoto0870.com/

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42910

Joined: 22 May 2005
Posts: 19348

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 7:26 pm    Post subject: Reply with quote

Ok, though I can't easily relate before and after here, but what you have done is stuck an end of comment "*/" half way through a code line.

You may need

Code:

 /*

$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';



' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
*/



to fully comment out the line. What the mod is all about here is removing excess links from the last_post.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 27660

Joined: 04 Sep 2005
Posts: 11052
Location: Hampshire,England
Add Karma

rated by 84 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 11:53 pm    Post subject: Reply with quote

admin wrote:

The more I see of this, the more I believe what I have been saying all along about the dangers of applying mods without reading and understanding what each line is actually doing.


I agree i have had nightmares over some mods, viper was kind enough to show me the way at first.

But here is the thing, a new person like me with reasonable brains finds a mod they like the sound of it and download it, now follow the instructions to the letter , double checking that all is what it says it should be.

OK so now i have done it all, goes back to forum to find white pages with parse errors or sql errors ,, you fix one then another appears and so on.

This is where a knowledge of PHP comes in shouts those in the know,, fair call, but when all i have to do is follow a few simple details you would expect it all to work.

It is almost like buying a bunk bed form M(made)F(for)I(idiots) and following the instructions to find it fact they are all wrong and you have the wrong parts.

Sites like www.phpbb.com should throughly test these mods before allowing them to be posted on their site, as to anyone like me there is nothing more annoying than spending the rest of the night trying to find a fix for an error in what is meant to be a working finished mod.

Rant over
_________________


http://www.saynoto0870.com/

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Search Engines All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2
 
 
Jump to:  
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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum