vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE vB2.0] quick 'who posted' (https://vborg.vbsupport.ru/showthread.php?t=10707)

03-25-2001 11:42 AM

yeah, I noticed that...just quoted wrong :o

I wanted to quote on this

Quote:

ira there is no "strict php coding" rulebook that says one must enclose if/then segments withing curly braces

bokhalifa 04-10-2001 06:17 AM

hi
Kier

not working
http://bokhalifa.org/daar/bo/whoposted.php

help me;)

eva2000 04-10-2001 06:30 AM

yeah since beta 4/4.1 it hasn't worked ... maybe work it into a the next beta ;)

bokhalifa 04-10-2001 07:48 AM

yea:D
Thanks!
eva2000;)

Lost 04-10-2001 07:49 AM

Quote:

yeah since beta 4/4.1 it hasn't worked
So this hack will not work on beta 4??
Is that right????
Sorry to ask a dumb question....

tubedogg 04-10-2001 02:54 PM

It works on my beta 4.1...

Raptor 04-11-2001 12:33 AM

just installed on beta 5 - works like a charm !

TigerLily 04-11-2001 02:46 AM

Works on my copy of beta 5 too. Thanks, Kier!
Kim:)

TechTalk 04-12-2001 07:46 PM

I like this because it is a standalone hack :) I wont add hacks that require editing of main files for sake of updating.


Thanks alot

~Chris

Mas*Mind 04-21-2001 10:41 PM

One tiny bug....the post count is always one too many...

simple fix: replace $totalposts = number_format($totalposts); with $totalposts = number_format($totalposts)-1;

It bugs me why it is btw...Can't find anything wrong in the code...maybe $totalposts has to be initialized on zero first...but as far as I know that doesn't matter (didn't tested it though)

Mas*Mind 04-21-2001 11:36 PM

DUH...

forgot that total replies isn't the same as total posts, to be exactly: The difference is one :D

eva2000 04-22-2001 12:58 AM

Quote:

Originally posted by Mas*Mind
DUH...

forgot that total replies isn't the same as total posts, to be exactly: The difference is one :D

:rolleyes: hehe

GimmeTech 04-22-2001 03:33 PM

Great Hack. Works just fine.

Thank You Kier.

amsch 05-10-2001 12:10 PM

I just love it and it was easy to install for a php dummy like me!
Amy

jucs 05-25-2001 12:45 AM

I got a file not found error in the popup.:(

Any ideas why?

In this template, there already is "topic Table" tag at the top. Do you put it above that or the script under it.

<!-- topic table -->
<script language="Javascript">
function who(threadid) {
window.open("whoposted.php?s=$session[sessionhash]&threadid="+threadid, "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=200 ,height=300");
}
</script>

jucs 05-25-2001 06:52 PM

See my other post. I just need to know the answer to the question. And, why it would not be working. I followed directions to the letter too. :(

Update..duh me. The darn whoposted.php file got uploaded as whoposted_php. :rolleyes:

webhost 05-26-2001 03:36 AM

Great Hack Thanks

http://www.realwebhost.net


Joey

ThomasP 06-02-2001 04:08 PM

amazing hack!
thanks kier,
-Tom

WEAPON 06-03-2001 07:43 PM

Great hack. Works perfectly.

AnnaFan 06-04-2001 11:21 AM

Hi,

under replies I found this:

0normalfont>

What is wrong? I think the normalfont tag is wrong. But I canĀ“t find the error. Can somebody help me please?

version2 06-08-2001 07:23 PM

I am trying to get this to work. I dont know exactly what went wrong, but when you click on the thread[replycount] link it pops up a box with template info. Its not parsing it.

Trying to figure it out..any ideas?

Here is a link:

http://www.mysticwicks.com/whoposted.php?threadid=2937

c-pr0mpt 06-09-2001 04:27 PM

On yours how did you get it to change cell color for each post. Or, I should say using 2 colors that alternate. The script as written only uses 1 color for both cells.

Thanks

TWTCommish 06-09-2001 04:37 PM

It requires some mild hacking. Find the while() loop used to display the threads in forumdisplay.php, and add this before it:

$alt_num = 1;

Then, right inside the loop, add something like this:

Code:

$alt_color = ($alt_num % 2 == 0) ? "#FFFFFF" : "#E9E9E9";
$alt_num++;

Then just reference $alt_color instead of "{firstaltcolor}", etc, in your forumdisplay_bit template. I did it with my forums here: http://forums.thestands.com

mister 06-12-2001 06:44 AM

easy install, awesome feature.

5-star.

thanks kier.

version2 06-14-2001 03:26 AM

Quote:

Originally posted by version2
I am trying to get this to work. I dont know exactly what went wrong, but when you click on the thread[replycount] link it pops up a box with template info. Its not parsing it.

Trying to figure it out..any ideas?

Here is a link:

http://www.mysticwicks.com/whoposted.php?threadid=2937

Anyone?

RobAC 06-14-2001 03:38 AM

If you do a view source on this page, these are the warning messages you find embedded near the top:

<b>Warning</b>: Cannot add header information - headers already sent by (output started at /home/version2/public_html/whoposted.php:4) in <b>/home/version2/public_html/admin/functions.php</b> on line <b>1187</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /home/version2/public_html/whoposted.php:4) in <b>/home/version2/public_html/admin/functions.php</b> on line <b>1187</b><br>

webhost 06-27-2001 01:12 PM

This is a great hack. Is there a way to add this to a forum on the total post column?

Joey

heynurse 06-29-2001 03:33 AM

kier.... u da man!

great hack! Very useful. 5 - *****'s

MarkB 06-29-2001 04:55 AM

I installed this but had to remove it as whoposted.php, when opened from the thread list, showed nothing but the source code - and I am sure I've followed every step of the installation correctly. Does anyone have any ideas? :(

version2 07-13-2001 01:35 PM

Quote:

Originally posted by MarkB
I installed this but had to remove it as whoposted.php, when opened from the thread list, showed nothing but the source code - and I am sure I've followed every step of the installation correctly. Does anyone have any ideas? :(
I have the same problem...and I still never figured it out.

version2 07-13-2001 01:40 PM

Quote:

Originally posted by RobAC
If you do a view source on this page, these are the warning messages you find embedded near the top:

<b>Warning</b>: Cannot add header information - headers already sent by (output started at /home/version2/public_html/whoposted.php:4) in <b>/home/version2/public_html/admin/functions.php</b> on line <b>1187</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /home/version2/public_html/whoposted.php:4) in <b>/home/version2/public_html/admin/functions.php</b> on line <b>1187</b><br>

Rob, sorry for being a bit clueless here. But, I have no idea what that is supposed to mean. :p

Kier 08-01-2001 06:15 AM

This hack is now included in vBulletin 2.0.3


All times are GMT. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01183 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete