FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » bunch of questions (modding, update, etc)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: bunch of questions (modding, update, etc) [message #28802 is a reply to message #28721] Fri, 11 November 2005 15:10 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Quote:


- Concerning an update: I'm running a 2.6.something (about a year old now). Could I do a blank default install and simply replace the GLOBALS.php to get it working with the old database? (after I copied msg_1 and the nntp files back).



Yes, but you also need to copy the images/ directory found WWW_ROOT.

Quote:


- The biggest part is the index table (4GB for myd/myi) and it takes ages (literally) to rebuild it. During that time, the board is offline, so I wonder if there's a script which would rebuilt the index into an sql file. That's just an idea, not a must-have Smile Talking about the index: I assume the optimize table runs over the index too. Would it be faster to do a "DELETE FROM prefix_index" before and then rebuild the index?



This is a search index table, you can rebuild it by running the search index rebuilder (admin control panel) but it'd be far slower the moving the file.

Quote:


- Could the script for rebuilding the msg_1 file be edited so it also does replace certain characters with their html code? Like &, < or > for example, or umlauts. That script has to update the database with the new file offsets, but I'm not sure if it would notice that the length of the message has changed.



You can modify the compacter to do it for you.

Quote:


- I noticed that sometimes several posts are added as new topics, although the subject are like "Re: whatever subject". Shouldn't the slow reply match option put them together in one thread? Can those posts be joined automatically? This is just a curiosity question to get a nicer look for the user. Nothing really important.



I presume those are posted from NNTP or mailing list? For those the slow reply match will often do the trick.

Quote:


- About the modding: I would heavily edit the main parts of the board, like index.php, thread.php and msg.php. I thought about removing everything from the source that is not needed, but I don't know if this would cause problems elsewhere (in case some of those files are includes from others).



You need to edit the .t and/or *.tmpl files, the *.php files outside of the adm/ directory are compiled files based on the templates.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: connecting existing user databases with FUDForum
Next Topic: Upgrade lost all templates, then stopped working
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:04:42 GMT 2024

Total time taken to generate the page: 0.04650 seconds