Search found 27 matches

by GoremanX
Sun May 09, 2010 5:15 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Running SQL Query
Replies: 3
Views: 218

Re: Running SQL Query

I figured it out, I didn't realize my query returned a mysql table, not a result. I couldn't reference the variable directly since it wasn't just a single integer result. I had to pass the result to sql_rowseek() first to get the integer out of the table and make it usable as a string variable. Live...
by GoremanX
Sun May 09, 2010 2:01 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Running SQL Query
Replies: 3
Views: 218

Running SQL Query

I'm trying to modify one of the installed MODs to display data from elsewhere in the database, but nothing I'm trying is working. I'm NOT an experienced PHP coder, nor do I know much about phpBB in general. I've been trying to get this working by re-using existing code that performs similar tasks. B...
by GoremanX
Tue May 04, 2010 7:39 am
Forum: [3.0.x] MOD Database Releases
Topic: Quote Remover
Replies: 48
Views: 12178

Re: Quote Remover

Mod works great on 3.0.7pl1, thanks! One request for any future updates: any way to make the nested quotes not show up in the edit window at all? Get rid of the unwanted nested quotes right away instead of on message submission? Right now, when I quote a message that has a quote in it, both quotes s...
by GoremanX
Fri Apr 23, 2010 9:18 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] User Attachment Quota 0.0.3
Replies: 35
Views: 9919

Re: [Beta] User Attachment Quota 0.0.3

Today post isn't a news. ;] I wrote too, twice. Yeah, I just figured since other people had already posted without replies, the mod had lost its maintainer. Not the first time this has happened, and certainly not the last :) Life catches up to all of us. As I mentioned, most of the mod applies just...
by GoremanX
Fri Apr 23, 2010 1:11 am
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] User Attachment Quota 0.0.3
Replies: 35
Views: 9919

Re: [Beta] User Attachment Quota 0.0.3

I'm running phpBB 3.0.7-PL1. I was able to apply most of this mod without issues. The only problems were in file includes/acp/acp_groups.php (the format for $test_variables has changed a little) and includes/functions_user.php. I was able to muddle through acp_groups.php, but functions_user.php has ...
by GoremanX
Wed Apr 21, 2010 11:58 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Current Logged In User's Username and Avatar
Replies: 4
Views: 2619

Re: Current Logged In User's Username and Avatar

ah hah! That worked well. I added this to the php file of the login mod I'm using:

Code: Select all

$template->assign_var('CURRENT_USERNAME', $user->data['username']);
and now adding {CURRENT_USERNAME} within that mod makes the current logged-in user's username appear.

Thanks!
by GoremanX
Wed Apr 21, 2010 10:42 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Current Logged In User's Username and Avatar
Replies: 4
Views: 2619

Re: Current Logged In User's Username and Avatar

But those require that I supply a specific user ID. Surely there must be some simpler way of displaying the current user's name on the page. It's only for a dead-simple "Hi, {USERNAME}" thing with their avatar next to it....
by GoremanX
Wed Apr 21, 2010 9:58 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Current Logged In User's Username and Avatar
Replies: 4
Views: 2619

Current Logged In User's Username and Avatar

I'm trying to find the variable that will give me the current logged in user's username. I assumed it would be {USERNAME}, but that returns nothing. I tried {L_USERNAME}, but that just returns the English word for Username (which is, unsurprisingly, Username}. I tried {U_USERNAME}, but I get nothing...
by GoremanX
Wed Apr 21, 2010 7:32 pm
Forum: [3.0.x] Support Forum
Topic: Removing a Warning
Replies: 2
Views: 81

Re: Removing a Warning

Thank you! I never saw that drop-down in the top-right.
by GoremanX
Wed Apr 21, 2010 7:07 pm
Forum: [3.0.x] Support Forum
Topic: Removing a Warning
Replies: 2
Views: 81

Removing a Warning

I know warning removal was implemented for phpBB 3.0.6, but I can't find it anywhere! Every search I make on this forum or on the web gives me results that state "the warning removal mod is no longer necessary because warning removal was implemented in a subsequent version of phpBB", but I...
by GoremanX
Wed Apr 21, 2010 7:37 am
Forum: [3.0.x] MOD Database Releases
Topic: ReIMG Image Resizer
Replies: 974
Views: 151758

Re: ReIMG Image Resizer

ah hah! Found it, thank you.

For the record, it's:

General Tab -> Board Configuration -> Post Settings -> scroll to the very bottom
by GoremanX
Wed Apr 21, 2010 5:51 am
Forum: [3.0.x] MOD Database Releases
Topic: ReIMG Image Resizer
Replies: 974
Views: 151758

Re: ReIMG Image Resizer

Great MOD! Works exactly as advertised, except... I don't see the ReIMG section in the ACP. I've triple-checked my code changes (all were done manually), I've refreshed all imagesets, themes and styles for all my styles, and I've purged the cache more times than I can count. But the Posting section ...

Go to advanced search