vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=224215

Reputation Page Split
by paul41598
29 Sep 2009 20:12

3 Attachment(s)
Reputation Comments Page Split (Pagination) :)

Description:
- This mod allows you to be able to paginate your way through reputation comments! Default VB code only allows you to globally set a limit for all users. So if you chose 50 for example, only 50 comments would show...but not all of them. Booo!! Some people want to see ALL of their comments, just not the last 50 ;)

Features:
  • Reputation Page Splitting

Drawbacks
  • This will require 1 change to default code! (It Is The ONLY Way, Sorry!!)

Installation:
1.) Upload Product
2.) Perform File Edit
3.) Enjoy Release

Code Change:

Open usercp.php

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


UPDATES:
1.0.1
- Updated code base to include table prefix


Number of results per page is changeable in the admincp!

theforumist 30 Sep 2009 16:20

Mind posting some screenshots of this?

paul41598 30 Sep 2009 16:46

There you go ;)

jboyd 30 Sep 2009 18:50

I like this Hack but it could be better written.

The SQL query done by this hack could take into account that most people have a Prefix on thier vb DB. After installing the hack as it comes i got a DB error because it is looking for a table reputation that does not exist in my DB. The use of Table_Prefix is clearly explained in the VBulletin 3 manual.

to fix read this link http://www.vbulletin.com/docs/html/c...ards_sql_query
or hard code your table names in the XML file so reputation would look like ??_reputation. with ?? being your table prefix.

I made some other minor changes but they where more because or style of writing code is different not because of errors in your code.

furst 01 Oct 2009 19:57

Any ajax or does every new page require a page reload?

AcidX 03 Oct 2009 12:24

Database error.

Quote:

Originally Posted by furst (Post 1893373)
Any ajax or does every new page require a page reload?

Good question.

infnity8x3 04 Oct 2009 08:12

Edited the xml to include my tables prefix. Works

Thanks!

furst 05 Oct 2009 04:10

which parts exactly do you edit? say my prefix is called x_y

Rean 05 Oct 2009 07:01

Database error!

Edit the xml file:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change the red part with your forum's table prefix..
reinstall this product..

infnity8x3 05 Oct 2009 07:04

Quote:

which parts exactly do you edit? say my prefix is called x_y
Open xml file in text editor find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Basically add your prefix in front the 2 instances of reputation, after FROM and WHERE.

OOPS must of posted at the same time.

Cla75 07 Oct 2009 08:42

Hello,
congratulations for this mod.

I tried to install it:
1. upload product
2. make changes to this file in the root usercp.php

Problem:
I do not see the chart on the bottom topic

What is wrong?
thansk

Cla75 08 Oct 2009 13:32

help me pleaseeeeee :)

paul41598 09 Oct 2009 00:16

Quote:

Originally Posted by Cla75 (Post 1896538)
help me pleaseeeeee :)

Chart on the bottom topic? The only thing you're going to see is pagination in your USERCP for reputation.

Rean 09 Oct 2009 04:01

Quote:

Originally Posted by Cla75 (Post 1896017)
Hello,
congratulations for this mod.

I tried to install it:
1. upload product
2. make changes to this file in the root usercp.php

Problem:
I do not see the chart on the bottom topic

What is wrong?
thansk

what chart??

Speysider 09 Oct 2009 08:39

This product does not work and should be archived, because anyone and everyone will receive a Database Error when trying to go to the User CP.

The db error message itself:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 08:18.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.