Show all posts by user
All modules known to work or written for 5.2.0 and up. Modules are small packages that increase or change the functionality of Phorum in some way, without changing any of the main Phorum code.
You can find a list of Phorum 5.2 Modules --> Here
You can find a list of Phorum 5.2 Modules --> Here
Re: Integrating with a non-website user system - 14 years ago
Initially it was because I did not see any output. However, I tried changing what it wrote to my DB to a dummy value and the value was never set. Once I discovered that I could get some output by not returning the data array I figured out what I was doing wrong (typo). Sorry for the trouble and thanks for the help!by J. David Smith - Phorum Integration
Re: Integrating with a non-website user system - 14 years ago
I have not modified any of the phorum core files. I added a mod and modified one of the templates. The hook does not fire regardless of the state of the template, however. (I tried with both the default emerald cc_usersettings.tpl and my modified version and in both cases the hook did not fire).by J. David Smith - Phorum Integration
Re: Integrating with a non-website user system - 14 years ago
I have a working module which hooks user_authenticate and before/after_register to integrate our site. We have a separate method of changing user passwords in-game, but this would cause confusion when users change their password on the forums but the change is not reflected in the game. To solve this, I tried hooking user_save and cc_save_user to update the password in our game DB when the phorumby J. David Smith - Phorum Integration
Re: Integrating with a non-website user system - 15 years ago
Definitely. Our user table is over a gigabyte, most of which is inactive accounts which we won't want copied over. Thanks for the confirmation.by J. David Smith - Phorum Integration
Integrating with a non-website user system - 15 years ago
There seem to be a lot of similar threads to this in this forum, but none that exactly answers my question. I'm the dev in charge of setting up a new forum system for a game that we're running (non-commercial, in case you're wondering). I chose phorum because I've had really good experiences with it in the past. I was able to get every requirement satisfied except one by instaby J. David Smith - Phorum Integration
Re: Module: Breadcrumbs 'Home' to External Site - 15 years ago
Awesome module! One less thing I have to write for this project...by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 16 years ago
Quotetborosak Hi...thanks for the module..using it for a while.... is there any way to remove/bypass the flame option altogether from the code and leave just the "thank". kinda like facebook does? thanks You can remove the lines in the templates about flames. I'll add an option for that sometime in the near future.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 16 years ago
Well, I'm back from the dead once again with yet another edition of this module. I implemented a fix similar to SchoolAngels' for the line 142 warning (I used isset() instead of != NULL). I also added the french and swedish translations (thank you SchoolAngels and sebdah!) and Ryan's images (which are far better than mine). There is a new option for which imageset to use (plus.pby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 17 years ago
No, its not abandoned. I've just been a bit busy with other things. That and my dev computer died. But I just finished piecing together a new one and will start working on this again soon. I have another module I am going to work on (unpublished, still in concept phase) as well, so everything may not happen immediately EDIT: bufix release up: 0.6b.1 it works definately with 5.2.9 not sureby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Hehe. I will install the embed images module on my testbed and see what happens. I asked as well and the Magic 8 Ball said Maybe to both.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
There's a new version up. It contains a few bugfixes, clean removal of template code when the module is disabled (using {IF MOD_TF_ENABLED}{/IF} code), and replacing the {INCLUDE "user_thank_flame::css"} line in a css.tpl template file with usage of the css_register hook.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Thanks for the tips. The hook-template idea is a good one that I will incorporate. I also didn't know about the css_register hook. That won't take long to implement (neither will). The phorum_db_update_messages were accidentally left unchanged to phorum_db_update_message. I have fixed them (there were 2 instances of it).by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Another thing: I have been testing in SVN, so I need to test in stable (5.2.8) as wellby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
It's been awhile since I looked at this. I will look into the problems you are having (as well as the short_time in the lang file. I don't remember that...)by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
When a user thanks or flames another user, that persons vote is stored in an array in the message meta field. Then when the page is redisplayed, it checks to see if the meta array has a field with the user's id in it. If so, the buttons don't show up. I am working on more substantial security for this, because there are several ways around it. So basically here is how it works: Thby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Ahh, I found the answer to the addons in the addon.php function, as Azumandias said. The phorum_db_search() function will not work for my needs. It searches for subject, message, author, or user_id. I need to search meta. Oh well, this can wait. My code needs some cleanup and optimization anyway. v0.6a is up (it displays each threads rating on the list.php page)by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Okay, got the meta storage working. Now, I don't see a function in the Phorum API docs on searching for threads. Is there one? Also, do I need to write a separate addon function for each addon page, or will one work?by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
How would I add to the $list['meta'] array from the messages hook (or read from the $messages[$id] array from the list hook)? I cannot find a way to access them from each others hooks.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Ok, I can provide minimal template files for the threads as well. That won't be hard. I will get started on the thread thank/flames. I think I am going to skip directly t/fing the thread, and instead total the amount of t/fs in the thread. Getting the amount of times a message has been t/fed was ridiculously easy because of the way I wrote it. Thank God for small fortunes. Just FYIby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
I hadn't thought of thread thank/flaming. I will look into it. If threads have meta variables like messages do, I will try to implement it. First, though, I am going to have each message show how many times it has been thanked/flamed (in addition to user thank/flame counts). Do you all think I should show who has thanked a person on the message, ala vBulletin, or just the amount of timesby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
I got the 'profile' hook working maurice. Thanks. This module now has full LANG support, it will be uploaded soon.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
I am running 5.2.8-RC1 on my test server as well. Try running the system sanity checks in the admin menu. Also, try redownloading and replacing the installed files with the newly downloaded ones (but not reinstall the DB and settings.php). It may be a partially corrupted file. This may also be a problem with the user itself. Try creating a new user account and thanking/flaming someone with that oby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Display the following: Thanked x times Flamed x times Overall Score: x Same on the Profile page. Actually, I need the hooks to get the user id to get the # thanks and # flames. The actual display part is held in a template in the module. I know that for a template file in the CC I can use PROFILE->user_id to get the user id. I was hoping there was a way I wouldn't have to create aby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Is there a hook like 'read' for the profile and control center pages?by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
New version (again!) now there is a 'Top Users' page and partial support for langby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Perfect, it's working now. v0.4 will be up in a moment. No Top Users page yet, sorry, but the settings page works great!by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
Okay, I'm back again with yet another problem. I want to access $PHORUM['mod_user_thank_flame']['mode'] in my templates. I only need to check it's value. How would I do that with template code, or should I use PHP? That variable is set in a settings page I am working on. When I do print($PHORUM['mod_user_thank_flame']['mode']) in my template it shby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
No, there is not an estimated finish date.by J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
The 'Top Users' thread wouldn't be hard. I haven't worked on this mod in awhile, I guess now would be a good time to get back in the loop. The 'phorum_api_user_save()' error may be the result of a new version of phorum. I have tested it up to 5.2.2 Also, I had a problem similar to that before, and reinstalling the phorum database fixed it. I am not sure if it isby J. David Smith - v5/v6 Modules/Add-Ons
Re: Module: User Thank/Flame - 18 years ago
No, I will look into it. This is strange. Could you PM me a link to your site? BTW, thanks for the compliment. :)by J. David Smith - v5/v6 Modules/Add-Ons
