If its in an earlier RavenNuke version, the includes are in /includes
What else do you want to know?
I would say phpBB2 mods are a hit or miss. The less complicated ones will often work with no real changes, but more complicated code+template changes require some recoding.
i mean, the folder includes is in a different place to what this mod talks about?
do i have to edit any of it?
Code:
##############################################################
## MOD Title: Users Reputations System v.1.0.0
## MOD Author: antongranik <
Only registered users can see links on this board! Get registered or login to the forums!
> (Anton Granik) http://granik.com
## MOD Description: Allows users to give reputation points to each others, earn it by posts and by "living" on forum, see the history of givings. Admin can edit users' reputations in admin cp. The whole system can be a text or a graphic version (5 different medals) and simple or advanced version (with choosing of how much reputation to give). You can get help on the system in the guide/ folder.
## MOD Version: 1.0.0
##
## Ported for phpNuke by PTM (http://www.topfunzone.com) and Refiner (http://support.rogbbtonukemods.com/)
##Updated for ravennuke latest by Snype (http://phpnuke-install.com)any help and support can be found at my site
##
## Installation Level: (Intermediate)
## Installation Time: 30 Minutes
## Files To Edit (15):
## viewonline.php
## viewtopic.php
## profile.php
## posting.php
## modcp.php
## includes/page_header.php
## includes/constants.php
## includes/usercp_viewprofile.php
## admin/index.php
## admin/admin_users.php
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/viewtopic_body.tpl
## templates/subSilver/admin/user_edit_body.tpl
## language/lang_english/lang_main.php
## language/lang_english/lang_admin.php
##
## Included Files (21):
## reputation.php
## reputation_common.php
## reputation_mod_install_db_v100.php
## reputation_mod_install_users_v100.php
## reputation_mod_update_v001_to_002.php
## reputation_mod_update_v002_to_100.php
## admin/admin_reputation.php
## includes/functions_reputation.php
## language/lang_english/lang_reputation.php
## templates/subSilver/reputation.tpl
## templates/subSilver/admin/reputation_config_body.tpl
## images/reputation_add_minus.gif
## images/reputation_add_plus.gif
## images/reputation_medal_neg.gif
## images/reputation_medal_size_1.gif
## images/reputation_medal_size_2.gif
## images/reputation_medal_size_3.gif
## images/reputation_medal_size_4.gif
## images/reputation_medal_size_5.gif
## images/reputation_neg.gif
## images/reputation_pos.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## 1. For the latest release always go to http://granik.com/forum/viewtopic.php?t=16
## 2. Official support forum is http://granik.com/forum/viewforum.php?f=3 If you download this mod from other sides then the mentioned sites above, it might cause malicious code to enter into your phpBB Forum.
## 3. Russian translation is included in folder lang_russian/
## 4. In folder different medals/buckets/ there are different medals. The medals are buckets with paint. :) Just copy these files to your forum_root_directory/images/
## 5. Special thanks to my wife and daughter for leaving me untouched while writing this mod :) , rockboyteek, Raul Duke, cherokee red, Patrick Simmons, aboyd, Infamy and all those I have forgotten for testing and helping...
## 6. Tested on phpbb 2.0.19, 2.0.20.
##############################################################
## MOD History:
##
## 2006-04-22, release version 1.0.0:
## 1) Changed page_constant to the proper one (officially reserved 5 constants).
## 2) Wrote the guide (look in folder guide/).
## 3) Fixed the bug with wrong points to subtract from your points when you give (thanks to aboyd).
## 4) Fixed the collisions with some mods (viewtopic and viewprofile didn't show up) (thanks to Infamy).
## 5) Fixed the bug in database ('user_reputation' field has to be float, not decimal) (thanks to Infamy).
##
## 2006-03-13, Version RC2 (0.0.2):
## 1) The stats in viewtopic are made only visible to admins/mods (configurable in admin cp) (idea: cherokee red)
## 2) Ability to set the limit of the amount of reputation points one can give out to a user (configurable in admin cp) (idea: Raul Duke)
## 3) Changed multiplications constants from 1-5 to 1.0-1.4 (to level a bit the givings)
## 4) The user gets a private message when he receives new reputation points (configurable in admin cp)
## 5) The admin can now see and edit users' reputations in admin cp -> user admin -> management
## 6) The ability to turn on the simple version of reputation givings: set default amount in admin cp and users won't think how much to give (idea: Patrick Simmons)
## 7) Fixed the bugs with postings by a new user (bug found: Raul Duke) and wrong givings' stats of a user (bug found: rockboyteek)
## 8) Now the reputations are decreased when a moderator removes the topics through ModCP.
##
## 2006-02-16, Version RC1 (0.0.1)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
# STEP 1/3: Uploading all new files
#
copy upload/*.php to *.php
copy upload/includes/*.php to includes/
copy upload/admin/*.php to admin/
copy upload/images/*.* to images/
copy upload/language/lang_english/*.php to language/lang_english/
copy upload/templates/subSilver/*.* to templates/subSilver/ ALSO UPLOAD TO THEMES/YOURTHEME/FORUMS
copy upload/templates/subSilver/admin/*.* to templates/subSilver/admin/
#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/templates/subSilver/viewtopic_body.tpl
ALSO DO THIS TO YOUR CURRENT THEME ASWELL THEMES/YOURTHEME/FORUMS
#
#-----[ FIND ]------------------------------------------
#
<br />{postrow.POSTER_FROM}
#
#-----[ AFTER, ADD ]------------------------------------------
#
<br />{postrow.REPUTATION}
#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_ICQ_NUMBER}</span></td>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_REPUTATION}</span></td>
<td class="row2">
<input class="post" type="text" name="reputation" size="10" maxlength="15" value="{REPUTATION}" />
</td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Reputation mod v.1.0.0
$lang['Reputation'] = 'Reputation';
$lang['No_votes'] = 'No votes';
$lang['Votes'] = 'votes';
#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Reputation mod v.1.0.0
$lang['Reputation'] = 'Reputation';
$lang['Reputation_Config_Title'] = 'Reputation System Configuration';
$lang['Reputation_Config_Explain'] = 'Here you can set the options for Users Reputation System.';
$lang['Rep_config_updated'] = 'Reputation System config updated';
$lang['Click_return_rep_config'] = '%sReturn to Reputation System config%s';
$lang['Disable_rep'] = 'Disable Reputation System';
$lang['Graphic_version'] = 'Graphic version';
$lang['Show_stats_to_mods'] = 'Show the stats of given points only to administrators/moderators';
$lang['PM_notify'] = 'Notify users through PM when they receive new reputation points';
$lang['Posts_to_earn'] = 'Amount of posts to earn 1 reputation point (0 - to disable)';
$lang['Days_to_earn'] = 'Amount of days on forum to earn 1 reputation point (0 - to disable)';
$lang['Flood_control_time'] = 'Minimum amount of minutes between reputation givings by the same user (no use for admins and mods)';
$lang['Medal1_to_earn'] = 'Amount of reputation points to earn the 1st size medal';
$lang['Medal2_to_earn'] = 'Amount of reputation points to earn the 2nd size medal';
$lang['Medal3_to_earn'] = 'Amount of reputation points to earn the 3rd size medal';
$lang['Medal4_to_earn'] = 'Amount of reputation points to earn the 4th size medal';
$lang['Given_rep_to_earn'] = 'Amount of given reputation to earn 1 reputation point (0 - to disable)';
$lang['Repsum_limit'] = 'Limit of giving reputation points to a user (0 - no limits)';
$lang['Default_amount'] = 'Turn the simple version on and set the default amount of every giving to this number (0 - to disable)';
#
# STEP 3/3: Updating the database
#
Run:
reputation_mod_install_db_v100.php
reputation_mod_install_users_v100.php
Then delete them!
IF THIS FAILS PLEASE USE MY SQL FILE AND MANUALLY ADD THEM VIA PHPMYADMIN
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
There are a lot of mods which they point to the includes folder on the root where mainfile.php is but actually it is from this
Quote:
I think basically they moved some of the included files
html/includes/bbcode.php
is now.....
html/modules/Forums/includes/bbcode.php
and so on.
html/modules/Forums/includes/
I suggest to any people to not do any mod which affect themes otherwise could be very complicated when u decide to upgrade the nuke. that is why forums should be apart from the nuke core so that any modification wont affect the new version. It is only my opinion.
Since I started doing some mods I understand these
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Fri Nov 13, 2009 5:00 pm
In order to aid the on-going seperation of the forums into a true module, yes, some forum related files that were in webroot/includes/
are now in
webroot/modules/Forums/includes/
If you are not sure which ones they are, they are listed in the RN distribution/ utlity files/filemigrationrn24.php
Or if you ruen error reporting on, you'll see the error messages that certain files cannot be found so you'l know which files to change the paths in.
View next topic View previous topic
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