 |
|
 |
| Setting Up A Board Discuss ways to successfully open and run an online community.
Including Privacy Policies and Terms of Service. |

06-12-2005, 09:18 PM
|
|
Member
|
|
Join Date: Jun 2005
Posts: 44 | Points: 10
|
|
Installing Mods to phpbb for dummies
Installing Mods to phpbb for dummies
This guide will explain all you need to know about installing a phpbb mod to your forum, it is for complete begginers, this is my third guide, i have used a bit of the guide from the phpbb forum. lets do the okelidokeli.
CONTENTS
1 this
2 what is a phpbb mod
3 installing
4 other guides i have done
|

06-12-2005, 09:20 PM
|
|
Member
|
|
Join Date: Jun 2005
Posts: 44 | Points: 10
|
|
What is a phpbb mod
A phpbb mod is a add on to your forum, or a plugin of some kind, mods can be easy to install and some can be hard, they take varies amounts of time depending on files needing to be edited, i will if you like do mods for you for free(it depends on the mod) just pm me.
|

06-12-2005, 09:21 PM
|
|
Member
|
|
Join Date: Jun 2005
Posts: 44 | Points: 10
|
|
installing
This action is, again, always used with the "FIND" action Wink
Quote:
#
#
#-----[ IN LINE FIND ]------------------------------------------
#
t.topic_title,
|
Like it's a little hard to understand like this, i give you a example Wink
Example :
Quote:
#
#
#-----[ FIND ]------------------------------------------
#
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
#
#-----[ IN LINE FIND ]------------------------------------------
#
t.topic_title,
|
You have just to search for " t.topic_title, " and to prepare you for the action which will arrive Wink
8 ) The "IN LINE AFTER ADD" action :
Looks like this :
Quote:
#
#
#-----[ IN LINE AFTER ADD ]------------------------------------------
#
t.topic_desc,
|
In fact, it's a better way to use the "REMPLACE" action (in the case that you have others MOD's installed)
This action is used with the "FIND" action and the "IN LINE FIND" action.
Example :
Quote:
#
#
#-----[ FIND ]------------------------------------------
#
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
#
#-----[ IN LINE FIND ]------------------------------------------
#
t.topic_title,
#
#-----[ IN LINE AFTER ADD ]------------------------------------------
#
t.topic_desc,
|
Here, you have to search for an entire line (original line) :
Quote:
#
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
|
in this line, you have to search something :
and to add that, directly after :
so your line will become (modded line) :
Quote:
#
$select_sql = ( !$submit ) ? ", t.topic_title, t.topic_desc, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
|
9) The "IN LINE BEFORE ADD" action :
It's the same thing that the "IN LINE AFTER ADD" action but you have just to add the code before what you have to search instead of after.
Quote:
#
#
#-----[ IN LINE BEFORE, ADD ]------------------------------------------
#
, $topic_desc
|
Example :
Quote:
#
#
#-----[ FIND ]------------------------------------------
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
#
#-----[ IN LINE FIND ]------------------------------------------
#
$poll_length)
#
#-----[ IN LINE BEFORE, ADD ]------------------------------------------
#
$topic_desc,
|
You have to search for an entire line (original line) :
Quote:
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
|
in this line, you have to search :
and to add that, directly before :
so your line will become (modded line) :
Quote:
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $topic_desc, $poll_length);
|
10 ) The "SQL" action :
This is the action to do for altering the database(adding a fiels, a table,...).
Quote:
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_topics ADD topic_desc varchar(255) DEFAULT '' AFTER topic_title
|
The best way for you to do this action is to use a basic management tool of database via Internet, like phpMyadmin
Once you have installed phpMyadmin, it's simple :
go into it, clic on the name of your database on the left. On the right, you will see a blank textarea : copy and paste the SQL query to do into this area, then clic on "Execute" and see the result Wink
11) The "SAVE/CLOSE ALL FILES" action :
This is the last action Very Happy. Once you have done all your modifications, save and close your files, thn upload tem onto your ftp server and go in your forum : see the result of your job Wink
But don't forget : before all, backup your files and your database.
I hope this tutorial will help you get Very Happy
If you have any suggestions/request/problems with this tutorial, this topic is for you. You can also PM me. Make sure the subject is this topics subbject so i know what to expect.
|

06-12-2005, 09:30 PM
|
|
Member
|
|
Join Date: Jun 2005
Posts: 44 | Points: 10
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |
|
|
|  |