php forum
php mysql forum
php mysql smarty
 
Page 2 of 5 < 1 2 3 4 5 >
Topic Options
#35826 - 01/13/00 09:55 PM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9

   Re: Last Post By" in *Ultimate.cgi*! to Del.icio.us Add to del.icio.us
  Digg Re: Last Post By" in *Ultimate.cgi*! Digg it
BTW, has anyone tried it on freeware version? .
I have licensed version installed ,so don't know if it woll or will not work..
Let me know, if you try.
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35827 - 01/13/00 10:22 PM Re: Last Post By" in *Ultimate.cgi*!
Ed Sullivan Offline
Member

Registered: 01/04/00
Posts: 130
Loc: Allentown, PA
Was that like a personal call to me?

I shall try it and get back to you.

------------------
-mike
Casual Players Alliance
_________________________
-mike
Casual Players Alliance - And that freeware UBB. smile

Top
#35828 - 01/13/00 10:28 PM Re: Last Post By" in *Ultimate.cgi*!
Ed Sullivan Offline
Member

Registered: 01/04/00
Posts: 130
Loc: Allentown, PA
Well, now that I actually went back and read the code. No, it won't work as is with the freeware version. The freeware doesn't have an OpenFile sub (of course, I wrote one, but..) and it uses the $RunOnDate.threads version, not forum$x.threads . So additional code would have to be added for that. And of course, I currently don't have the last post by hack in forumdisplay installed either.


------------------
-mike
Casual Players Alliance
_________________________
-mike
Casual Players Alliance - And that freeware UBB. smile

Top
#35829 - 01/15/00 12:21 AM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
I'll try to make a version of this hack for freeware..
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35830 - 01/16/00 01:37 AM Re: Last Post By" in *Ultimate.cgi*!
TransZamboni Offline
Junior Member

Registered: 01/16/00
Posts: 1
Could someone please post the code for "Latest reply by: xxx" hack. Thank you.

edit: nevermind. silly me. didn't search first.
_________________________
www.sexthreads.com

Top
#35831 - 01/16/00 01:59 AM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35832 - 01/16/00 03:07 AM Re: Last Post By" in *Ultimate.cgi*!
Menno Offline
Junior Member

Registered: 03/20/01
Posts: 200
LOL
hm... maybe this site should have guidlines what do do when looking for a hack, would save a lot of time

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Top
#35833 - 01/16/00 07:13 AM Re: Last Post By" in *Ultimate.cgi*!
Leisure.Larry Offline
Member

Registered: 01/13/00
Posts: 103
Loc: NRW, Germany
Here´s the freeware-hack for displaying the last user who has posted a message.

In postings.cgi find the following code:

#update last time file
&Lock("lock.file");
open (LASTTIME, ">$ForumsPath/Forum$number/lasttime.file") or die(&StandardHTML("Unable to write a Forum$number LastTime.file $!"));
print LASTTIME ("$HyphenDaten");
print LASTTIME ("$Timen");
close (LASTTIME);
&Unlock("lock.file");
chmod (0666, "$ForumsPath/Forum$number/lasttime.file");

Behind it insert:

#update last user file
&Lock("lock.file");
open (LASTUSER, ">$ForumsPath/Forum$number/lastuser.file") or die(&StandardHTML("Unable to write a Forum$number LastUser.file $!"));
print LASTUSER ("$UserNamen");
close (LASTUSER);
&Unlock("lock.file");
chmod (0666, "$ForumsPath/Forum$number/lastuser.file");

Now find:

&Lock("lock.file");
open (FORUM, ">$ForumsPath/Forum$number/$newtopicfile");
print FORUM ("$StatsLinen");
print FORUM ("$FatherLinen");
close (FORUM);
&Unlock("lock.file");
chmod (0666, "$ForumsPath/Forum$number/$newtopicfile");

Also insert the above hack behind it:

#update last user file
&Lock("lock.file");
open (LASTUSER, ">$ForumsPath/Forum$number/lastuser.file") or die(&StandardHTML("Unable to write a Forum$number LastUser.file $!"));
print LASTUSER ("$UserNamen");
close (LASTUSER);
&Unlock("lock.file");
chmod (0666, "$ForumsPath/Forum$number/lastuser.file");

Now find the following code in Ultimate.cgi:

## Get Forum Data from lastnumber.file(s)
open (FORUMDATA, "$ForumsPath/Forum$x/lastnumber.file");
my @data = <FORUMDATA>;
close (FORUMDATA);
$TotalTopics = $data[1];
chomp($TotalTopics);
$TotalPosts = $data[2];
chomp($TotalPosts);

IN FRONT OF IT insert:

## Get Forum Data from lastuser.file(s)
if (-e "$ForumsPath/Forum$x/lastuser.file") {
open (FORUMDATA, "$ForumsPath/Forum$x/lastuser.file");
my @data = <FORUMDATA>;
close (FORUMDATA);
$LastPoster = "<B>$data[0]</B>";
} else {
if (-e "$ForumsPath/Forum$x/lasttime.file") {
$LastPoster = "";
} else {
$LastPoster = "No postings yet.";
}
}

Now go to sub ForumsGutsHTML and search for $TheDate. Insert "$LastPoster
" in front of it.

This hack works fine with my freewareversion 2000. But should also work with the full version. Beside it should be quicker than the above hacks.



------------------
Grüße aus Deutschland / Greatings from Germany
Leisure Larry

Homepage: Catan & Stonehedge - Multiplayerz vs. HTML
_________________________
Grüße aus Deutschland / Greatings from Germany
Leisure Larry

Homepage: Catan & Stonehedge - Multiplayerz vs. HTML
UBB: ALLinONE , the german UBB for Freeware-Hacks

Top
#35834 - 01/16/00 11:59 AM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Quote:
quote:



That's why we now have a database of hacks
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35835 - 01/16/00 04:40 PM Re: Last Post By" in *Ultimate.cgi*!
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Umm the database is up at http://database.ubbcodehacking.com Try there!

------------------
President and Webmaster of UBB Hackers Hideout.

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

Top
#35836 - 01/20/00 11:45 AM Re: Last Post By" in *Ultimate.cgi*!
ChanFan Offline
Junior Member

Registered: 01/18/00
Posts: 15
Loc: Charlotte, NC USA
Quote:
quote:


Neither do I. But someone does. Anybody want to post the code for displaying last reply in forumdisplay.cgi? Hint-Hint.

Or did I miss it.
_________________________
It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson

Top
#35837 - 01/20/00 12:58 PM Re: Last Post By" in *Ultimate.cgi*!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
That was mine originally. A lot of people had trouble installing it, but it works fine for me on 5.39b. I'm not sure if anything would need to be altered to work in the later versions. Here is the link to hack on the Scriptkeeper board. The hack is actually in two different places depending on where you want the last username to link to.
http://www.scriptkeeper.com/ubb/Forum14/HTML/002790.html

Actually if you give me about 20 minutes I'll post the hack in a txt. file that will be easier to understand. I'll just create a new thread here for it.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#35838 - 01/21/00 01:39 PM Re: Last Post By" in *Ultimate.cgi*!
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
OK, real nice hack! i like it. But if I dont have any post yet in a particular catogorie it just puts by: with no username and looks kinds tacky. Can i get rid of this somehow? Im using 5.43 if it matters.

Thanks,

------------------
Chris Miller
http://www.webtrixter.com/
_________________________
Chris Miller
http://www.webtrixter.com/

Top
#35839 - 01/21/00 01:43 PM Re: Last Post By" in *Ultimate.cgi*!
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
im not real familar with cgi but i noticed you are opening the x.threads file. This file is not created unless someone has posted befor. Maybe this is my problem?

Thanks,

------------------
Chris Miller
http://www.webtrixter.com/
_________________________
Chris Miller
http://www.webtrixter.com/

Top
#35840 - 01/21/00 06:53 PM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Actually, the forum$xthread files are created, once you add a new forum.

Quote:
quote:

Hmmm. It should work fine, since I'm checking, whether there is anything in the file or not. It works fine for me..
You can contact me by ICQ, and I'll help you.
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35841 - 01/21/00 11:17 PM Re: Last Post By" in *Ultimate.cgi*!
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
I figured out my problem. I was trying to make it a link to the users profile and that was messing things up. Can you help me do this?

Thanks,

------------------
Chris Miller
http://www.webtrixter.com/
_________________________
Chris Miller
http://www.webtrixter.com/

Top
#35842 - 01/22/00 04:38 PM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Sure.
I'll post the code a bit later.
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35843 - 01/22/00 07:02 PM Re: Last Post By" in *Ultimate.cgi*!
RageAgnst Offline
Member

Registered: 01/21/00
Posts: 32
Loc: Saint Louis, Missouri - USA
cool, thanks! I really like the hack I think the link is the only thing its missing.

Thanks again

~RageAgnst
_________________________
Chris Miller
http://www.webtrixter.com/

Top
#35844 - 01/25/00 10:20 PM Re: Last Post By" in *Ultimate.cgi*!
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Ok
Sorry that I haven't replied before.
Here's th code to use to create a link to user's profile:
Code:
code:

I've not tested it yet, so please tell me if it works. It should, however

------------------
Thanks for reading!
Ilya
Administrator of Ubb Code Hackers Hideout
Moderator of UBB Hacks Finished
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#35845 - 01/26/00 11:23 AM Re: Last Post By" in *Ultimate.cgi*!
Rosemyths Offline
Junior Member

Registered: 01/11/00
Posts: 13
Ummm, a question.

I test it in 5.39c and it will display in private and public section. However, in 5.43a. It won't display in private section. Is that 5.43a have a tight security to block this? Thanks a million.

Top
Page 2 of 5 < 1 2 3 4 5 >


Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
10/05/08 03:47 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
W-D 3

 

 

 
fusionbb message board php hacks