FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

PHPBB Mods

 


FreeBay
When reading the installation file of phpbb mods, it often says [ Find ] to go to that line and do something with it.

I'm modding manually in wordpad. What happens if i find multiple find results? Do I make changes to all of them or just the first one? The code doesnt specify which line it is at.
Matte52
i'am also using phpBB and IF you find txo exact lines, then should you edit them both.
But you should take a look once again and see if they really is the same. Often they just look same but in the other line you find it can stand an "<" extra or something.

A good tips is to using the "serach" command in wordpad. On that way you can see as they really are the same, or not =)
FreeBay
what if it is the exact same line but one is indented differently. ie, one is "tabbed" or indented once, and another is indented 3 times.
wumingsden
FreeBay wrote:
what if it is the exact same line but one is indented differently. ie, one is "tabbed" or indented once, and another is indented 3 times.


This is one thing which certain MOD authors forgot to mention.
If there is more than one incident of code but it tells you to only insert the change once then you have to change the code that is the closest (and beneath) the last edit...

OK, so you may not get that, I'll try and explain more ...

MODs are (usually) set out by what comes first. What I mean by this is if you have to change:

Code:
if (!defined('IN_PHPBB'))
{
   die('Hacking attempt');
}


and

Code:
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);


then the first code change in the file should be the first instance of code here...

So, as long as the change is the exact code beneath the last piece of code that you edited/inserted/deleted, etc, then it should be the correct one.

If you still don't understand this (sorry, it is pretty difficult) then feel free to use http://www.frihost.pastebin.com and paste the MOD file and then file that needs to be changed, I'll then do it for you.
FreeBay
Thanks

I think i got it working by changing the "next" instance
wumingsden
FreeBay wrote:
Thanks

I think i got it working by changing the "next" instance


Very Happy - thats exactly what I tried to say, yet it seemed so hard Sad

I guess this doesn't need to be open anymore so -locked- (if you want it re-opened PM me)
Related topics

100FRIH$ Install my PHPBB mods
Install my phpbb+mods and i'll pay you!!!
PhpBB Mods
Install PHPBB-10$ SMF-5$ MediaWiki-10$ & other Scripts
phpBB installation services

need 2 PHPBB Mods installed - 60frih$'s
few phpbb mods needed doin - 75frih$'s
ftp wont work
Just an idea.
phpBB Services

Firefox 1.5 beta 1 released
Best phpBB mods?
I got a question about the webspace!!
Help with PhpBB
The Marketplace at a Glance
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.