In total there are 654 users online :: 2 registered, 0 hidden and 652 guests
Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm
Registered users: Bing [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes
Moderator: Integra Moderator
"Dioncecht";p="16734" wrote:By the way, someone closed a <table> tag somewhere on the Post page so if you hit Post A Reply, it's all jacked up...
##-----[ OPEN ]------------------------------------------# includes/topic_review.php ##-----[ FIND ]------------------------------------------# $bbcode_uid = $row['bbcode_uid']; ##-----[ AFTER, ADD ]------------------------------------------# $message = preg_replace("#[web]#si", '[align=center:'.$bbcode_uid.'][size=99px]( ', $message); $message = preg_replace("#[/web:$bbcode_uid]#si", ' )[/size][/align:'.$bbcode_uid.']', $message); ##-----[ SAVE/CLOSE/UPLOAD ALL FILES ]------------------------------------------## EoM
"Solomon";p="16752" wrote:Simple? Can someone give me an example of some CMS software that is considered not-so simple?
"thatjoeguy";p="16747" wrote:"Dioncecht";p="16734" wrote:By the way, someone closed a <table> tag somewhere on the Post page so if you hit Post A Reply, it's all jacked up...
Doing that when you hit QUOTE, too."Dioncecht";p="16734" wrote:Would there be a possibility of a 'pre-release' for those of us like myself who are not upgrading but starting all over again from scratch? Just the install without the upgrade script?
I'd really like this as well, as I'm converting over from Nuke...
"Solomon";p="16756" wrote:Simple until the next hacking spree.
Simple until you want to install custom mods.
Simple until the next phpBB update and you cant use the pre-modded files because you have custom mods installed.
Keep it Stock Modified or its not going to be Keep it Simply Modified anymore.
I dunno, maybe I am just a noob <img> but I dont find all this stuff that simple all the time.
à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ if ( mod_installed(mod_name) ){ this section will contain the original code with mod edits}else{ à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ this section will contain the original code no edits à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦}à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
<IF> code plus your mod edits<ELSE> code without your mod edits i.e. original code untouched <ENDIF>
define ('KISS_INSTALLED', true);define('IN_PHPBB', true);$phpbb_root_path = './';$phpEx = substr(strrchr(__FILE__, '.'), 1);include($phpbb_root_path . 'common.' . $phpEx);include($phpbb_root_path . 'includes/functions_display.' . $phpEx); if(KISS_INSTALLED) include_once($phpbb_root_path . 'includes/blocks_main.' . $phpEx);
"Fubie";p="16759" wrote:"Solomon";p="16756" wrote:Simple until the next hacking spree.
Simple until you want to install custom mods.
Simple until the next phpBB update and you cant use the pre-modded files because you have custom mods installed.
Keep it Stock Modified or its not going to be Keep it Simply Modified anymore.
I dunno, maybe I am just a noob"Michaelo";p="16760" wrote:What I mean by simple, this should provide some clarification... [url=http]It can be simple[/url]
AND
The 'Keep It Simple' MOD method which allows for editing of the core files (php or theme htm) while allowing updates to go smoothly (fairly smoothly) is... (taken from another post)
Ideas for the future... phpBB3 and New Portal
How can I add code to the core without affecting the core?
Simpleà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ examine the following php codeà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
- Code: Select all
à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ if ( mod_installed(mod_name) ){ this section will contain the original code with mod edits}else{ à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ this section will contain the original code no edits à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦}à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
No need for the usual line of explanation hereà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ its really simpleà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
Ah! But I have edited the core here! Not reallyà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ you have added to it without affecting it. If you run an update script on this file such as SVN update your code will remain and only the original code will be updatedà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ If you need to update the file itself use something like winmerge to do the edits...
In a html file
Simpleà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ examine the following html codeà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
- Code: Select all
<!-- IF module_name --> code plus your mod edits<!-- ELSE --> code without your mod edits i.e. original code untouched <!-- ENDIF -->
No need for the usual line of explanation hereà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ its really simpleà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
This is only for mods that must edit the core... The majority of well written mods will not require core editing... (I hope)
A real example... Actual edit to the index.php using kiss portal (kismod). Note this is the only edit to the file...
- Code: Select all
define ('KISS_INSTALLED', true);define('IN_PHPBB', true);$phpbb_root_path = './';$phpEx = substr(strrchr(__FILE__, '.'), 1);include($phpbb_root_path . 'common.' . $phpEx);include($phpbb_root_path . 'includes/functions_display.' . $phpEx); if(KISS_INSTALLED) include_once($phpbb_root_path . 'includes/blocks_main.' . $phpEx);
Mike
"found it";p="16772" wrote:enough said....
Registered users: Bing [Bot], Majestic-12 [Bot]