Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It doesn't touch any UBB file, but I think it belongs to this forum wink

Why is it called inactive and not active? Beats me wink

Description: rename "inactive.txt" to "inactive.cgi", and upload to UBB's cgi-bin directory (CHMOD 755). I recommend to make it an Excel file.

Demo: Results (with username) , Excel worksheet, after removing username (you make the excel file by yourself, the hack doesn't do it for you. Use File - Open - inactive.txt - Delimeter - "|").

Download: http://mods.lkworld.com/inactive.txt

Number of Downloads: [img]https://www.ubbdev.com/lk/num.php?s=inactive.txt[/img]

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
sweet laugh


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Nice hack LK! smile

Joined: Apr 2002
Posts: 111
PF Offline
Member
Member
Offline
Joined: Apr 2002
Posts: 111
Doesn't work on 6.05 frown
Possible cause: 6.05 doesnt have a UBBCGI module?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Ok, I edited the topic name tipsy Even tho it works with 6.1, I don't support it tipsy

Sponsored Links
Joined: Sep 2001
Posts: 90
Member
Member
Offline
Joined: Sep 2001
Posts: 90
Ok So i have the member lists anyway i can view this information but the simplicity is excellent!! I love it smile now its easy to be a sad bunny and create charts of postings by day etc smile

Whats more its a really easy way of keeping a record of members numbers as well together with the login name.

Oh and thanks for the hint with the delimiter tag I didnt know that you could specify custom delimiters until i played with this code smile once again THANKS laugh

Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
yeah...that's a cool trick wink



###Above that add:
###(note:) you can put the link on the left or center it. The first line of code below puts the link in the center..To put it on left use:

###Done with public_forum_summary.pl Save changes made###

###Open vars_wordlets.cgi###

###Look for:

%vars_wordlets = (

###Below that add:

'inactive_search' => 'Admins Inactive Search',

###Done with vars_wordlets.cgi Save changes made###

Finally, upload both files and make sure files are properly CHMOD'ed...After that clear your cache in the control panel...

Done!!
Joined: Jun 2001
Posts: 56
Member
Member
Offline
Joined: Jun 2001
Posts: 56
This is an add on to LKs' Active Members hack...

What this does: It adds a link at the top of the main home page just above the 'logout' box...It evens out your board now with a link on the left and a link on the right...

So with that, here goes...

******************************************************************
Files to hack: public_forum_summary.pl vars_wordlets.cgi
******************************************************************

###Open public_forum_summary.pl###

###Look for:



» $vars_wordlets{active_topics}
«






» $vars_wordlets{inactive_search}
«


Joined: May 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 6
Sorry but I find the instructions to this at the very least lacking. What exactly needs to be done besides renameing inactive.txt to inactive.cgi and uploading it to the cgi-bin directory and chmod 775?

Do you also have to upload the created excell document? Do you upload inactive.txt or just what exactly do you do to get it to work correctly, or for that matter at all?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
TorN, good idea smile

anon, you don't have to do anything, basically.. just run the inactive.cgi file and get inactive.txt on the NONCGI folder. You make the Excel file by yourself, using | delimeter (I explained how in the post/file). You don't have to do anything else. smile

Sponsored Links
Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
after calling the inactive.cgi file and enter l/p the inactive.txt file cannot be read fron browser
quote:
Forbidden
You don't have permission to access /ubb/inactive.txt on this server.

I have to go to my noncgi folder and change inactive.txt chmod to read it... is there an easier way to see it in my browser or do I have to do this everytime I create this file?

Joined: May 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 6
now I am kicking myself.

I should have known that I needed to run that file. smile

Thanks.

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
quote:
Originally posted by Galipabi:
after calling the inactive.cgi file and enter l/p the inactive.txt file cannot be read fron browser
quote:
Forbidden
You don't have permission to access /ubb/inactive.txt on this server.

I have to go to my noncgi folder and change inactive.txt chmod to read it... is there an easier way to see it in my browser or do I have to do this everytime I create this file?
I had this happen to me, too! eek


Sue
adwoff.com
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Actually it happened to me too, lol

Cause - CHMODded to 0, but dunno why frown Can you try to change 'inactive.txt' everywhere in the file to 'inactive-results.cgi', and run it again? Then open inactive-results.cgi from your noncgi directory using your FTP.

Joined: May 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 6
Hello,

I renamed inactive.txt to inactive-results.cgi and ran it again and get this error message:

Software error:
Can't open '/home/shvlhd/public_html/ubb/inactive-results.cgi'. Permission was denied - please ask the administrator to check the permissions on that file/directory! The exact error returned by the operating system is: Permission denied

I to had the inactive.txt chmod to 0

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed! Problem because of SIXSIXSIX and SEVENSEVENSEVEN, reupload inactive

Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
yay works this time

Joined: Sep 2002
Posts: 16
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 16
Great hack but it seems only working if the cgi.bin/ubb folder stays in the root directory...

Am I wrong?

bobbel

Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
Update to include a Year Option. If I try to run it for "December", it tries to see how many posts in December 2003, since the current year is now 2003, not 2002

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
I TOO would like that feature. smile

*cough* BUMP *cough*


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)