Show all posts by user
Modules are small packages that increase or change the functionality of Phorum in some way, without changing any of the main Phorum code.
Re: Online Users Module - 22 years ago
O.K. thanks again though it's nice & suppose people could just add the two together! :-)by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Online Users Module - 22 years ago
Aha! That works, thanks! But....what I was asking if there's a way to get the total users, a total as a combination of both registered users and guests?by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Online Users Module - 22 years ago
Thanks! Will do ;-) Hmm..that doesn't seem to work though :-(by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Online Users Module - 22 years ago
Could you add a 'total users online' count?by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Last post listing on index page - 22 years ago
Problem for logged-out users in cvs-2004082314 - Fatal error: Only variables can be passed by reference in /home/wtower/public_html/phorum/mods/lastforumpost/lastforumpost.php on line 9by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Template error - 22 years ago
Yep, because I've only one template, there's only one to select, but I get the error relating to the old template that I've since deleted.by Mandingo - 5.1 Phorum Support
Template error - 22 years ago
Hi, I removed a template in my phorum, everything works fine in the first forum, but for all the others I get: Warning: filemtime(): Stat failed for ./templates/default_ts/header.tpl (errno=2 - No such file or directory) in /home/wtower/public_html/phorum/common.php on line 507 Warning: filemtime(): Stat failed for ./templates/default_ts/list.tpl (errno=2 - No such file or directory) inby Mandingo - 5.1 Phorum Support
Re: How to determine variables? - 22 years ago
Sorry, I was talking about 5.0.8-RC - Dev not 3.4.8a!by Mandingo - 5.1 Phorum Support
Re: How to determine variables? - 22 years ago
O.K. many thanks, I understand now. Hopefully this will get sorted at some point in the future via a CVS, I hope...and thanks for the PHP. Very helpful!by Mandingo - 5.1 Phorum Support
How to determine variables? - 22 years ago
Following on from my post below -, something has changed in 3.4.8a regarding variables, since a couple of my template hacks aren't working anymore. For example, I had this hack in the template to show number of messages posted by a user - in 'read.tpl' - {IF MESSAGES->user_id true}{LANG->Posts}: {MESSAGES->user->posts} and this in 'profile.tpl&by Mandingo - 5.1 Phorum Support
Re: Has this changed for 5.0.8-RC? - 22 years ago
O.K I've tried everything I can think of. No luck. Can somebody give a helpful and non-ambiguous answer as to what has changed between releases to make a hack such as this no longer work & what I can do about it?by Mandingo - 5.1 Phorum Support
Re: Online Users Module - 22 years ago
O.K.I can't even see the box under the message list when I have the mod enabled...nothing.by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Has this changed for 5.0.8-RC? - 22 years ago
Strange, {IF MESSAGES->user_id true} has worked with previous releases up to this one, but that's not really the issue, something in the way this would worked in previous releases: {MESSAGES->user->posts} has been altered for this release.by Mandingo - 5.1 Phorum Support
Has this changed for 5.0.8-RC? - 22 years ago
I have a couple of things that show up in read.tpl such as - {IF MESSAGES->user_id true}{LANG->Posts}: {MESSAGES->user->posts} Has the way this needs to be written changed? It's no longer working :-(by Mandingo - 5.1 Phorum Support
Re: Online Users Module - 22 years ago
Same problem, can't get it to work in 5.0.8-RC, shows nothing. The show moderator and forum statistics modules don't work either.by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Example Module - 22 years ago
This is EXACTLY what I need. Thanks ;-)by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: Private Message alert - 22 years ago
Nice, but maybe a check box somewhere so that each individual user can choose whether they want the emails sent to them or not? Maybe in 'Edit My Privacy Options'by Mandingo - Phorum Development
Sent PM's saved as default? - 22 years ago
Is it possible to set the 'save a copy of this message to my sent items' check box to be checked by default? I assume it's a case of changing a value in a template? ***Sorry, this is very likely in the wrong forum***by Mandingo - 5.1 Phorum Templates/Themes
Re: 'Hot Topics' ? - 22 years ago
Hmm...ok could you just do this as a tempate hack then? Something like {if REPLIES >500}<img src="image>{/if}by Mandingo - Phorum Hack/Mod Requests
Re: 'Hot Topics' ? - 22 years ago
O.K. I'm having a go myself but I don't know how to get the mod to return the result as a graphic. I suppose it doesn't really have to be a graphic, it could just be a word next to the subject in list.tpl. Is there a comparable mod that I could adapt?by Mandingo - Phorum Hack/Mod Requests
Re: 'Hot Topics' ? - 22 years ago
Yep that's what I guessed but I'm still struggling with the module concept! :-D Hopefully somebody'll give it a go in far, far, far less time than it would take me!by Mandingo - Phorum Hack/Mod Requests
'Hot Topics' ? - 22 years ago
I've been thinking about something that displays a little .gif when a topic reaches something like 500 views or 50 replies or similar...by Mandingo - Phorum Hack/Mod Requests
Re: User status based on number of posts - 22 years ago
Will do. Cheers!by Mandingo - 5.1 Phorum Hacks
Re: Simple userpics (avatar) hack - 22 years ago
C'est excellent! Mais comment faire la template (read.tpl) comme ca?by Mandingo - 5.1 Phorum Modules / Add-Ons
Re: User status based on number of posts - 22 years ago
Well, I gave up for a few hours.... ;-) My friend was taking a look at it for me. Looks like you got there first, thanks! :-Dby Mandingo - 5.1 Phorum Hacks
Re: User status based on number of posts - 22 years ago
Totally lost with this now. You're saying something like this - $string =$data[$message_id]["postlabel"] = $message; echo $data["postlabel"]; should be in place of - $data[$message_id]["postlabel"] = $message; echo $data; ??? =================================================== I'm giving up on this one myself, hopefully someoneby Mandingo - 5.1 Phorum Hacks
Re: User status based on number of posts - 22 years ago
Right. Thanks. Sooooooo...now we have - status.php - =================================================== <?php function phorum_mod_status($data) { $PHORUM = $GLOBALS["PHORUM"]; if(isset($PHORUM["mod_status"])){ foreach ($data as $message_id=>$message) { $user = phorum_user_get($message['user_id'], false); $posts = $user["poby Mandingo - 5.1 Phorum Hacks
Re: User status based on number of posts - 22 years ago
Right, I fixed the 'array' word appearing. I now have - <?php function phorum_mod_status($data) { $PHORUM = $GLOBALS["PHORUM"]; if(isset($PHORUM["mod_status"])){ foreach ($messages as $message) { $user = phorum_user_get($user_id, false); $posts = $user["posts"]; if ($posts > 100) { $message["postlabel"] = &quoby Mandingo - 5.1 Phorum Hacks
Re: User status based on number of posts - 22 years ago
O.K. I did that. It still doesn't work. I just get the word 'array' appear in top left of my read page.by Mandingo - 5.1 Phorum Hacks
