php forum
php mysql forum
php mysql smarty
 
Page 1 of 9 1 2 3 4 5 6 7 8 9 >
Topic Options
#140751 - 03/18/01 12:06 AM [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas

   [6.0x] Last User Name to Reply in Forum [ Finished ] to Del.icio.us Add to del.icio.us
  Digg [6.0x] Last User Name to Reply in Forum [ Finished ] Digg it
Title:Last Username To Post In Forum
Version: 2.0
Author: Slurpee (Brett Norton)
Revised by:
- Qasic (now shows public profile name)
- Leshrac (complies now w/ mod_perl, now links to last post)
- Slurpee (added wordlet support)
- Allen Ayres (updated for v6 Gold)

Location: click here
_________________________
- Allen wavey
- What Drives You?

Top
#140752 - 03/18/01 12:55 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
some problems in some forums


FYI
No member profile found for member number:
» Please use your browser's back button to return.

Top
#140753 - 03/18/01 12:59 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
The official file is now updated:

Name: Last Reply By
Version: 2.0
Authors: Slurpee, qasic, AllenAyres, Leshrac
Link: http://www.qasic.com/ubbhacks.html

qasic
_________________________

Top
#140754 - 03/18/01 12:59 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Sounds like you might need to update your member files/ post history, etc... did you clkear your cache? this is a pretty straight forward mod to install.
_________________________
- Allen wavey
- What Drives You?

Top
#140755 - 03/18/01 12:59 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
I cleared everything and rebuild evreything ..

[ March 18, 2001: Message edited by: q_ware ]

Top
#140756 - 03/18/01 01:01 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
is it the problem for letting Unregistered users to post and reply?

Top
#140757 - 03/18/01 01:02 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I can't tell what version you are runnig since you have removed the copyright notice. Please add it back before we give you assistance.... thanks.
_________________________
- Allen wavey
- What Drives You?

Top
#140758 - 03/18/01 01:04 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
6.00 Gold

Top
#140759 - 03/18/01 01:06 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
You can't get assistance here unless your copyright is put back in... thanks for understanding, but you are violating the license agreement and could cause problems for ubbdev if we assist those who do.
_________________________
- Allen wavey
- What Drives You?

Top
#140760 - 03/18/01 01:09 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
oops...
let me put it back..

Top
#140761 - 03/18/01 01:09 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
planet10six Offline
Junior Member

Registered: 01/24/01
Posts: 10
Hack works Great ..it's working perfectly on my forums ..thanks Guys cool

Top
#140762 - 03/18/01 01:18 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
SpearsLover Offline
Member

Registered: 01/22/01
Posts: 56
Loc: Florida, USA
It says to edit PUBLIC_FORUM_PAGE.PL and PUBLIC_TOPIC_PAGE.PL but cannot find any such files - Am I looking in the wrong place???

[ March 18, 2001: Message edited by: SpearsLover ]
_________________________


» Co-Founder of PopBoards.com «

Top
#140763 - 03/18/01 01:23 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
those are in your templates folder, and are in lowercase there...

thanks q_ware, let me know when you are ready...

you're welcome planet, tho slurpee, qasic, and leshrac did most all the work.
_________________________
- Allen wavey
- What Drives You?

Top
#140764 - 03/18/01 01:31 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
Got the cause of the bug.

If an unregistered user reply the msgs, the forum will die.

PS, I'm still finding all the places to re-add the copyright... >_< (I deleted too much)

Top
#140765 - 03/18/01 01:35 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
all the more reason to make everyone register... they don't have to wait for a password if you don't have email verification turned on, but it's always a good idea to have them register...
_________________________
- Allen wavey
- What Drives You?

Top
#140766 - 03/18/01 03:10 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Works great for me ^^^^^^^^^^^

Gotta love this easy modding UBB6 code wink

TotalNewbie

Top
#140767 - 03/18/01 01:01 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
DJ Doena Offline
Junior Member

Registered: 03/18/01
Posts: 27
Hello, I have a question.

How can I modify the main page, that the link goes to the last post, not only to the last answered topic?

such like this hack

Top
#140768 - 03/18/01 03:52 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
PsxBasement Offline
Member

Registered: 02/21/01
Posts: 42
i have a problem all i have checked if i did copy it good in al the 3 files

but still this error

Content-type: text/html
Software error:
Illegal division by zero at D:/webserver/wwwroot/~test/cgi-bin/ubb_forum.cgi line 337.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

can somebody tell me?
i know it's not a error from me ( hehe i hope )

Grtx


Top
#140769 - 03/18/01 06:07 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


I just released this hack, it is located here:

http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=20&t=000152
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#140770 - 03/18/01 06:59 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Quote:
quote:


I have only installed this once, so I can't say for sure that it is 100% bug-free, but it installs very straight-forward, there's nothing difficult about it at all. This one is explicitly for ubb 6 gold, so if you are running on beta, it's gonna be different in some places and is unsupported.

You might check to make sure you haven't copied over a } or sometrhing, or left one out... it is most likely an install problem.
_________________________
- Allen wavey
- What Drives You?

Top
#140771 - 03/18/01 07:15 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
bum-fluff Offline
Junior Member

Registered: 02/25/01
Posts: 6
Loc: carrick/northern ireland
Could it be because of the corrupted zip file that infopop released in the "first few hours"?

worth a shot tipsy
_________________________
~peaceout~

Top
#140772 - 03/20/01 07:54 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
KodoSan Offline
Member

Registered: 09/11/00
Posts: 100
Loc: Syracuse, NY, USA
works like a charm! made some minor cosmetic changes.. but it's the hack that I've missed the most.. Thank you thank you thank you!! laugh
_________________________
Well...THAT hack didn't work.. Gimme the next one! www.fraggersforum.com

Top
#140773 - 03/20/01 08:16 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Abyss34 Offline
Junior Member

Registered: 03/07/01
Posts: 12
Quote:
quote:


hey KodoSan can you point me how you have put all the info in one line ?
i was playing with this today & i havent figured it out,i droped the idea after 10 min frown

Top
#140774 - 03/20/01 11:42 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Tim 3dfiles Offline
Member

Registered: 07/07/00
Posts: 98
Loc: New York
Search the instructions for
and delete it smile

Or if you want the exact code, its in ubb_forum.cgi in the following code you added in:

$last_post_username = qq!
$vars_wordlets{last_reply_by}: <A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$one$page_num#$last_post[1]">$last_post_username</A>!;

Top
#140775 - 03/20/01 11:55 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Tim 3dfiles Offline
Member

Registered: 07/07/00
Posts: 98
Loc: New York
Only other change I would suggest, although cosmetic, is to modify the words "Last Reply by" to only "by" in vars_wordlets.cgi. Since the column already says Last post, its redundant and makes forums really wide and double up on smaller monitors.

Mine reads:

03-21-2001 00:52 by: Username

rather than

03-21-2001 00:52 Last post by: Username

Top
#140776 - 03/21/01 12:03 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Abyss34 Offline
Junior Member

Registered: 03/07/01
Posts: 12
thx Tim for the Tip & keep up the good work with 3dfiles smile
edited my post to say that it worked great & its exactly what i wanted tipsy

[ March 21, 2001: Message edited by: Abyss ]

Top
#140777 - 03/21/01 04:46 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Skarre Offline
Junior Member

Registered: 03/11/01
Posts: 30
Loc: Sweden
I noticed that the "Pages: 1 2 etc" are located below the subject in this forum. How did you achieve that?

I suppose it's only a
tag, but where does it go?

Top
#140778 - 03/21/01 03:30 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
KodoSan Offline
Member

Registered: 09/11/00
Posts: 100
Loc: Syracuse, NY, USA
oh sure. leave it to TIM to steal my glory..lol. It's back to tweaking the boards eh bubba!!!
_________________________
Well...THAT hack didn't work.. Gimme the next one! www.fraggersforum.com

Top
#140779 - 03/21/01 04:39 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Redshift Offline
Member

Registered: 12/14/00
Posts: 36
Loc: Raleigh, NC, USA
I just wanted to say a quick "thank you" to the author of this hack. It was my single most favorite hack from UBB5.x, and now that I've got it in 6.0, I'm happy.

Kudos!
_________________________
- Brian A. Marks
Visit my UBB6 C5 Corvette Forum

Top
#140780 - 03/21/01 05:45 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
infinite2001 Offline
Member

Registered: 09/12/00
Posts: 73
Loc: Bay Area
Yes, thank you. This works wonderfully.

Infinite

Top
#140781 - 03/22/01 06:45 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
TOC Offline
Junior Member

Registered: 12/29/00
Posts: 29
... could you plz make an update for UBB 6.01 ?

Top
#140782 - 03/22/01 11:33 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
BT Offline
Member

Registered: 03/17/01
Posts: 38
To update for 6.01 just change the first step in the instructions to:


Code:
code:



I think, I haven't tested yet but it seems to be the only difference wink

EDIT > This works fine on my board laugh

I've split the code a bit to make it easier to read the rest of the posts in this thread, both blocks should be single lines, don't ya just love the way UBB6 does that eek eek

[ March 22, 2001: Message edited by: -Ben@KvR- ]

[ March 22, 2001: Message edited by: -Ben@KvR- ]
_________________________
-Ben@KvR-
K-v-R Audio Plugin Resources

Top
#140783 - 03/22/01 12:35 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Michael Bates Offline
Junior Member

Registered: 09/29/00
Posts: 18
Loc: Oklahoma City, OK
Grr, Ben. How about some carriage returns in that code block?
_________________________
Michael Bates

Top
#140784 - 03/22/01 12:43 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Stingray Offline
Junior Member

Registered: 10/14/00
Posts: 8
didnt work right for me in 6.01. last username came up fine, but right above the each members name was some code, I forgot what it said. I know I should have wrote it down!

example:

CODE )(&*&%*
Stingray
Member
Member # 2183
Rate Member

[ March 22, 2001: Message edited by: Stingray ]

Top
#140785 - 03/22/01 12:47 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
I'll look into this ASAP.

q
_________________________

Top
#140786 - 03/22/01 01:10 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
PsxBasement Offline
Member

Registered: 02/21/01
Posts: 42
Content-type: text/html
Software error:
Illegal division by zero at D:/webserver/wwwroot/~test/cgi-bin/ubb_forum.cgi line 338.

same error with the correct zipper ( without crc ) v 6.0 No beta,so hmm what is the problem?




[ March 22, 2001: Message edited by: PsxBasement ]

Top
#140787 - 03/23/01 12:05 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I am seeing a bug that was in the version for v5 as well. Say you have your threads limited to 25 posts per page. With this mod installed, whenever you get to 24, it links to the next page (that isn't there) instead of the correct one. This happens when the thread gets to 49, 74, 99, etc.
_________________________
- Allen wavey
- What Drives You?

Top
#140788 - 03/23/01 01:49 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Allen, I found that problem too and fixed it.

If you replace this:

Code:
code:


With this:
Code:
code:


Problem solved!

[ March 23, 2001: Message edited by: Slurpee ]
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#140789 - 03/23/01 05:13 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Can somebody update the primary hack files and install stuff with the latest fixes, thanks.

Top
#140790 - 03/23/01 07:03 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
PsxBasement Offline
Member

Registered: 02/21/01
Posts: 42
slurpee could you copy and paste it in a text file when i grab the solution i cant paste it in the cgi because then it come's out strange and not correct.

thnx.
Wizkid

Top
#140791 - 03/23/01 12:55 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
I'll have this updated on the website tonight.

PsxBasement, the quick and dirty way would be to save the HTML. Open up in your favorite HTML editor. Copy and paste from there (it always works for me smile ) for proper formatting.

q
_________________________

Top