PDA

View Full Version : Show user with posts in popup for each forum on forumhome [english/german]


KarateKid
05-24-2002, 10:00 PM
Hi,

I don't know if this hack is still written. I didn't found something like this, so I wrote it by myself.

This hack shows you, when you click on a link on the posts in forumbit who has how many posts in this forum in an popup window.

An easy hack with:
- one new template
- one modified template
- one fileupdate in misc.php

You can the an example on www.kampfkunst-board.de, while clicking on the posts on forumhome

This hack is available in german and english.

In this post the english one.

Greetings

KarateKid :)

KarateKid
05-25-2002, 02:06 PM
And in this post the german one :)

(Someone should write a hack for more attachments as one in one post :D)

TWTCommish
05-25-2002, 02:07 PM
Someone did indeed write something like this before. :)

Forum Post Breakdown (Per User) (https://vborg.vbsupport.ru/showthread.php?threadid=35040)

KarateKid
05-25-2002, 02:09 PM
++++, sorry, but I found nothing.

OK, my version might be a bit newer :(

In a couple of days I will update my hack with the created threads by users

MrLister
05-25-2002, 04:04 PM
hehe I just have one off topic question. It's english/german and your name and avatar is asian? :D

KarateKid
05-25-2002, 04:31 PM
hehe, you're right :D

Sigon
05-26-2002, 12:24 PM
Ok I am getting a javascript error when clicking on the posts. Little help please. http://forums.lotronline.com thanks!

KarateKid
05-26-2002, 01:10 PM
hm, very curious bug?! :confused:

Could you test it without javaskript? Only a Link:


./misc.php?action=whopostedforum&forumid=$forum[forumid]

Chris M
05-26-2002, 01:18 PM
Sehr gut...

Es gefällt mir...

I like your forums...

Satan

Shaede
05-26-2002, 05:27 PM
I modified this code to work with the javascript better:

Add to any template on your main page (like the header or forumhome template):

<script language="Javascript">
function who(forumid) { window.open("misc.php?action=whopostedforum&forumid="+forumid, "whoposted", "toolbar=no,scrollbars=yes,resizable=yes,width=230, height=300"); }
</script>

Then, change the link you modified in "forumhome_forumbit_level2_post" to:

<a href="javascript:who($forum[forumid])">$forum[replycount]</a>

Sigon
05-26-2002, 08:22 PM
The non js one works. But I need it to open in a smaller window

Sigon
05-27-2002, 01:20 PM
Ok I got it. It works now.

lifesourcerec
08-11-2003, 01:10 AM
the javascript not working. How you fix it?