Welcome, Guest. Please Login or Register.
September 16, 2021, 05:34:40 AM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  Topic: [beta 1.5.4]Recent post numbers on info « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [beta 1.5.4]Recent post numbers on info  (Read 6987 times)
Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(


[beta 1.5.4]Recent post numbers on info
« on: July 24, 2003, 11:24:55 AM »
Reply with quote

I struggled to decide what to call this!!

This is a small mod that will say how many posts have been made since you were last logged out from the forums across the whole boards on the info panel.

It will display your personal post count and how many posts you have made in one session.

I only have a mod file for this. I didn't bother making options switchable - if someone really wants this I will make a db file to make things optionable.

Link to screenshot of image:
http://www.p0stwh0res.com/bins/mod/visual/recent.jpg

EDIT: As wiziwig pointed out I forgot the mod file for adding the column!! Pick it up here:
www.p0stwh0res.com/bins/mod/recentstatsdb.txt
(rename to php!)

Sorry - I don't have time to support my old mods on YABB SE as I'm tied up in SMF development. I have already ported this to SMF so if you wish to use it I recommend waiting until SMF becomes public and install it when you upgrade.
« Last Edit: February 24, 2004, 11:23:26 AM by Grudge » Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager


WWW
Re:[beta 1.5.4]Recent post numbers on info
« Reply #1 on: July 25, 2003, 09:29:10 PM »
Reply with quote

And it dies..

Database Error

Unknown column 'LastLogout' in 'field list'
File: /home/www/supermod/community/Sources/Subs.php
Line: 1540
Logged

Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager


WWW
Re:[beta 1.5.4]Recent post numbers on info
« Reply #2 on: July 25, 2003, 09:38:15 PM »
Reply with quote

This should take care of that problem..

$result163 = mysql_query("ALTER TABLE `{$db_prefix}members` ADD COLUMN LastLogout TINYINT DEFAULT '0' NOT NULL ;");
if(!$result163){
    echo "<font color=red>Table: ".mysql_error()." Allready Exists, Skipping.</font><BR>";
    $error++;}
else
echo "<font color=green>Table Altered Correctly!</font><BR>";
Logged

Grudge
Global Moderator
Full Member
*****
Posts: 178


Damn llama's don't like me :(


Re:[beta 1.5.4]Recent post numbers on info
« Reply #3 on: July 26, 2003, 03:12:36 AM »
Reply with quote

Whoops!!!!!

I can't believe I forgot the db file!!! Original post modified to give link to a db file
« Last Edit: July 26, 2003, 04:02:59 AM by Grudge » Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!


Re:[beta 1.5.4]Recent post numbers on info
« Reply #4 on: December 04, 2003, 06:14:50 PM »
Reply with quote

and where is the mod file?
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!


Re:[beta 1.5.4]Recent post numbers on info
« Reply #5 on: December 04, 2003, 07:01:13 PM »
Reply with quote

oh boy, here we go  ;D

Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  Topic: [beta 1.5.4]Recent post numbers on info « previous next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.167 seconds with 20 queries.