Thread Rating:
  • 9 Vote(s) - 4.11 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smethead's Mod/Plugins list [2 new plugins and 3 updated plugins]
Galen Wrote:Thank you SO much, Smethead. I LOVE the old rep system Smile

I am curious though. Refer to this thread about 2 changes I made to the old rep system. How would I make those changes within your mod?

Just as I wrote in one of the replies of that thread. Only with different templates and files.
Smethead Wrote:
Galen Wrote:2nd, I'd like for the UserCP to show who gave rep.
The MyBB rep system already has a feature that records the user who gave the reputation. It stores the user's ID under the adduid field in the reputation table. So basically, the thing you have to do to show the user in your UserCP is this:

Go to AdminCP >> Templates >> Modify / Delete >> Global Templates >> Expand >>
crs_latestreputations
Find:
<td class="tcat" align="center"><span class="smalltext"><strong>$lang->post</strong></span></td>
And under it, add
<td class="tcat" align="center"><span class="smalltext"><strong>Given by:</strong></span></td>
Find:
<td class="thead" colspan="4">
And replace with:
<td class="thead" colspan="5">
After that, save the template.
You can change Given By to whatever you want in another language

crs_latestreputations_bit
Find:
<td class="$bgclass">$postlink</td>
And under it, add
<td class="$bgclass">$adduser</td>
After that, save the template.

Then, open the file called inc/plugins/crs.php and find the code:
eval("\$reputationbits .= \"".$templates->get("crs_latestreputations_bit")."\";");
Above it, add this:
			$adduid_query = $db->fetch_array($db->query("SELECT username, usergroup, displaygroup FROM ".TABLE_PREFIX."users WHERE uid='".$reputation['adduid']."'"));
			$adduser = "<a href=\"member.php?action=profile&uid=".$reputation['adduid']."\">".format_name($adduid_query['username'], $adduid_query['usergroup'], $adduid_query['displaygroup'])."</a>";
That's all Smile
Look out! The function is now called format_name instead of formatname!

To show things in numbers, you can edit the file inc/plugins/crs.php and replace crs_get_reputation( with get_reputation( on lines 322 and 334.

Maybe I'll make that an option to set in a next version Wink

tamilparks Wrote:hellow is there any updation for the google ads inbetween post
That's not one of my plugins so I can't help you with that.
Reply


Messages In This Thread
RE: Smethead\'s Mod list - by Cory - 2005-05-18, 07:13 PM
RE: Smethead's Mod list - by k776 - 2005-08-31, 08:42 PM
RE: Smethead's Mod list - by - 2005-09-01, 07:52 PM
RE: Smethead's Mod list - by Shochu - 2005-10-19, 09:50 PM
RE: Smethead's Mod list - by decswxaqz - 2005-11-06, 07:29 PM
RE: Smethead's Mod list - by - 2005-11-06, 08:02 PM
RE: Smethead's Mod list - by decswxaqz - 2005-11-06, 08:30 PM
RE: Smethead's Mod list - by Marc O' Connor - 2005-11-12, 08:29 AM
RE: Smethead's Mod list - by - 2005-12-03, 02:55 PM
RE: Smethead's Mod list - by - 2005-12-03, 09:05 PM
RE: Smethead's Mod list - by Atloz - 2005-12-04, 08:13 AM
RE: Smethead's Mod list - by - 2005-12-04, 10:50 AM
RE: Smethead's Mod list - by Atloz - 2005-12-06, 03:32 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-06, 04:37 PM
RE: Smethead's Mod list - by - 2005-12-06, 05:43 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-06, 08:08 PM
RE: Smethead's Mod list - by Shochu - 2005-12-07, 02:45 AM
RE: Smethead's Mod list - by - 2005-12-07, 12:00 PM
RE: Smethead's Mod list - by - 2005-12-09, 02:37 PM
RE: Smethead's Mod list - by lordy16 - 2005-12-11, 12:34 AM
RE: Smethead's Mod list - by ipab - 2005-12-11, 06:45 AM
RE: Smethead's Mod list - by - 2005-12-12, 11:05 AM
RE: Smethead's Mod list - by lordy16 - 2005-12-11, 09:43 AM
RE: Smethead's Mod list - by ipab - 2005-12-11, 05:00 PM
RE: Smethead's Mod list - by lordy16 - 2005-12-12, 10:24 AM
RE: Smethead's Mod list - by - 2005-12-12, 08:18 PM
RE: Smethead's Mod list - by ipab - 2005-12-13, 04:14 AM
RE: Smethead's Mod list - by - 2005-12-13, 09:04 AM
RE: Smethead's Mod list - by - 2005-12-15, 06:22 PM
RE: Smethead's Mod list - by - 2005-12-16, 10:42 PM
RE: Smethead's Mod list - by - 2005-12-21, 03:22 AM
RE: Smethead's Mod list - by - 2005-12-21, 09:52 AM
RE: Smethead's Mod list - by - 2005-12-21, 02:44 PM
RE: Smethead's Mod list - by - 2005-12-21, 03:46 PM
RE: Smethead's Mod list - by - 2005-12-22, 09:08 AM
RE: Smethead's Mod list - by chiefsaab - 2005-12-22, 12:11 PM
RE: Smethead's Mod list - by - 2005-12-22, 12:54 PM
RE: Smethead's Mod list - by chiefsaab - 2005-12-22, 01:00 PM
RE: Smethead's Mod list - by Oded Dwek - 2005-12-22, 06:30 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-22, 07:14 PM
RE: Smethead's Mod list - by Oded Dwek - 2005-12-22, 07:25 PM
RE: Smethead's Mod list - by - 2005-12-23, 06:11 AM
RE: Smethead's Mod list - by - 2005-12-23, 03:12 PM
RE: Smethead's Mod list - by chiefsaab - 2005-12-25, 07:38 PM
RE: Smethead's Mod list - by - 2005-12-25, 08:24 PM
RE: Smethead's Mod list - by Boring Dude - 2005-12-29, 01:18 AM
RE: Smethead's Mod list - by EuroBEAT - 2006-03-05, 05:19 AM
RE: Smethead's Mod list - by - 2005-12-29, 10:54 AM
RE: Smethead's Mod list - by Boring Dude - 2005-12-29, 04:05 PM
RE: Smethead's Mod list - by - 2006-01-15, 04:28 PM
RE: Smethead's Mod list - by zaher1988 - 2006-01-15, 04:32 PM
RE: Smethead's Mod list - by - 2006-01-21, 01:57 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:13 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:42 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:49 PM
RE: Smethead's Mod list - by - 2006-01-25, 01:15 PM
RE: Smethead's Mod list - by - 2006-01-25, 02:40 PM
RE: Smethead's Mod list - by zaher1988 - 2006-01-25, 02:53 PM
RE: Smethead's Mod list - by - 2006-01-25, 06:23 PM
RE: Smethead's Mod list - by - 2006-01-25, 08:21 PM
RE: Smethead's Mod list - by - 2006-01-26, 06:57 PM
RE: Smethead's Mod list - by - 2006-01-26, 07:53 PM
RE: Smethead's Mod list - by - 2006-01-26, 10:47 PM
RE: Smethead's Mod list - by Oded Dwek - 2006-01-27, 10:08 AM
RE: Smethead's Mod list - by - 2006-01-27, 02:17 PM
RE: Smethead's Mod list - by destroyer - 2006-01-28, 10:35 AM
RE: Smethead's Mod list - by - 2006-01-28, 12:26 PM
RE: Smethead's Mod list - by destroyer - 2006-01-28, 12:50 PM
RE: Smethead's Mod list - by - 2006-01-28, 04:39 PM
RE: Smethead's Mod list - by destroyer - 2006-01-30, 12:44 PM
RE: Smethead's Mod list - by - 2006-01-30, 06:24 PM
RE: Smethead's Mod list - by destroyer - 2006-01-30, 08:13 PM
RE: Smethead's Mod list - by - 2006-01-31, 08:43 PM
RE: Smethead's Mod list - by destroyer - 2006-02-01, 12:31 PM
RE: Smethead's Mod list - by - 2006-02-01, 02:45 PM
RE: Smethead's Mod list - by destroyer - 2006-02-01, 03:21 PM
RE: Smethead's Mod/Plugins list - by Chris W. B. - 2006-02-21, 01:17 PM
RE: Smethead's Mod/Plugins list - by - 2006-02-21, 05:49 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-03, 01:16 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 02:31 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-03, 02:53 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 02:34 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 03:48 PM
RE: Smethead's Mod/Plugins list - by zaher1988 - 2006-03-03, 04:31 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 04:50 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-04, 11:11 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-04, 12:20 PM
Smethead's - Advanced Stats Mod - by EuroBEAT - 2006-03-05, 05:25 AM
RE: Smethead's Mod/Plugins list - by - 2006-03-05, 01:02 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-03-06, 06:49 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-09, 09:27 PM
RE: Smethead's Mod/Plugins list - by zaher1988 - 2006-03-10, 05:00 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-10, 05:05 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-11, 04:32 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 05:32 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-11, 06:01 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 06:05 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 10:30 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-18, 10:26 AM
RE: Smethead's Mod/Plugins list - by - 2006-03-19, 01:10 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-19, 02:08 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-19, 04:51 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-19, 05:27 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-12, 10:19 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-13, 09:25 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-13, 11:20 AM
RE: Smethead's Mod/Plugins list - by - 2006-04-13, 12:31 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-15, 06:56 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 08:01 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-15, 08:15 PM
RE:  Smethead's Mod/Plugins list - by DIRAL - 2006-04-15, 09:41 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 09:28 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 11:12 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-19, 01:33 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-19, 01:41 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-19, 07:04 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-19, 07:17 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-04-20, 03:11 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-20, 07:02 PM
RE: Smethead's Mod/Plugins list - by Hamed - 2006-05-03, 09:42 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-03, 03:16 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-06, 12:34 PM
RE: Smethead's Mod/Plugins list - by Sled - 2006-05-08, 03:30 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-08, 04:24 PM
RE:   Smethead's Mod/Plugins list - by Sled - 2006-05-09, 02:59 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 03:32 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-09, 03:36 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 04:09 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-09, 04:14 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 06:03 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-10, 09:00 AM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 02:58 AM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 01:34 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-18, 03:43 PM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 08:14 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-05-19, 04:46 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-19, 05:14 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-05-25, 07:03 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-25, 11:24 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-26, 11:11 AM
RE: Smethead's Mod/Plugins list - by tristan/SMM - 2006-06-08, 01:02 AM
RE: Smethead's Mod/Plugins list - by - 2006-06-08, 04:12 PM
RE: Smethead's Mod/Plugins list - by tristan/SMM - 2006-06-08, 10:19 PM
RE: Smethead's Mod/Plugins list - by Michael S. - 2006-06-09, 12:00 AM
RE: Smethead's Mod/Plugins list - by - 2006-06-10, 10:14 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-06-10, 10:27 AM
RE: Smethead's Mod/Plugins list [Classic Reputation System released] - by Smethead - 2006-09-11, 09:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)