miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

increasing number of latest topics replies posted in user info section

Author trc4949
Registered
#1 | Posted: 20 Jun 2007 19:20 | Edited by: trc4949 
is it possible to increase the total number of Latest Topics Posted and Latest Replies Posted that are listed in a members profile?

for example I want to be able to list the most recent 100 latest topics and latest replies for each instead of the current default.

Author Paul
Lead Developer
#2 | Posted: 21 Jun 2007 03:38 
It is possible even not destructing the core... put in bb_plugins.php the code line like

if($action=='userinfo') $viewmaxtopic=100;

preferrably at the top part of plugins file.

However I don't see much sense in it. Why do you want it that way? It will load up the resources specially if you have active forums.

It won't help you much in the terms of SEO etc.

Author trc4949
Registered
#3 | Posted: 21 Jun 2007 08:18 
Well the main reason I wanted it was because it will be a trading forum and I wanted the traders to have a nice big selection of recent posts that they have made on certain stocks over a long period of time...

In other news... wow, I subscribed to this thread with the 'notify me by email feature when it is updated' and it was sent to my gmails spam box!
hmmm. I can't believe gmail email sent it to the spam box....

Tom

Author Paul
Lead Developer
#4 | Posted: 21 Jun 2007 08:42 
trc4949

So does my solution work for you?

I subscribed to this thread with the 'notify me by email feature when it is updated' and it was sent to my gmails spam box

- that may be true, because this email is fully automated. Gmail also as other services often block automated emails by default. You may "teach" the Gmail marking this email as "Not spam" so hopefully next time it could recognize it correctly.

This happens not only with miniBB.com... with other websites and softwares, too. I often register at other forums and I need to check bulk/spam folders to get an activation key or something like this.

That's way miniBB provides a possibility to register straight-away, with no email check :-)

Author trc4949
Registered
#5 | Posted: 21 Jun 2007 08:48 
Hi Paul..

Have not tried out your suggested hack but will try it soon... thank you..

I am thinking I will probably not implement it permanently though per your comment on using a lot of system resources...

Tom

Author Paul
Lead Developer
#6 | Posted: 21 Jun 2007 11:45 
I will probably not implement it permanently though per your comment on using a lot of system resources

- well if your forums are not having 100 visitors per minute, they could not be called active and that way you could try it ;-)

I think on powerful machines such requests are executed easily, so... this is your way... you want, you go ;-)

Author EinfachClicken
Guest
#7 | Posted: 2 Jan 2008 06:51 
It is possible even not destructing the core... put in bb_plugins.php the code line like

if($action=='userinfo') $viewmaxtopic=100;

preferrably at the top part of plugins file.


Okay, I tried to use this in order to DECREASE the amount of viewable topics that are available from the hompeage of the forum. But that didn't work. What do I need to do in order to make sure that there are NEVER more than 12 or 15 current themes visible to AN user at ANY time while visiting our forum?

Author Paul
Lead Developer
#8 | Posted: 2 Jan 2008 07:59 
This solution is only for the profile page where user's topics are displayed.

For the first page i.e. Latest Discussions if you mean that, there is a GENERIC setting called $viewlastdiscussions (setup_options.php).

Referring to manual will help you discover about 70 of other generic settings miniBB has.

Author EinfachClicken
Guest
#9 | Posted: 2 Jan 2008 08:58 
Thank you .... I missed that.
I'll still be back for more though, I'm sure. ;^D

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / increasing number of latest topics replies posted in user info section Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB