Search found 196 matches

by Paddic
Wed Jan 10, 2007 9:45 pm
Forum: [2.0.x] MODs in Development
Topic: [MODDB]ImageShock.eu 3rd party, auto-insertion, customizable
Replies: 23
Views: 36209

Parameters changed on the service?

Has there been some changes on the service? I needed to add these parameters so that the pictures won't stretch (I've changed 'theselect1' to '1280x1024' from the default 'o' ptimize only ): <input type="hidden" name="nezvetsovat1" id="nezvetsovat1" value="1" ...
by Paddic
Mon Jan 01, 2007 7:42 pm
Forum: [2.0.x] MODs in Development
Topic: [MODDB]ImageShock.eu 3rd party, auto-insertion, customizable
Replies: 23
Views: 36209

Some contributions

Ok, I've got some code for you to use if you want. To have the iframe hidden at first: # #-----[ OPEN ]------------------------------------------ # templates/subSilver/posting_body.tpl # #-----[ FIND ]------------------------------------------ # <td class="row1" valign="top"><spa...
by Paddic
Mon Jan 01, 2007 3:16 am
Forum: [2.0.x] MODs in Development
Topic: [MODDB]ImageShock.eu 3rd party, auto-insertion, customizable
Replies: 23
Views: 36209

great mod and service

Just great! I mean, imageshack mods are nice and postimage.org mod & service is even better, but this one is the winner. :P There's the "Free web analytics, website statistics" link in the "footer" of the iframe, if you click it it opens in the same iframe, which is not quite...
by Paddic
Sat Sep 23, 2006 12:36 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Constant Problem
Replies: 10
Views: 860

Did you really echo the _value_ of the constant ADMIN, or just those texts in the if/else-statements? Just a guess. You don't have: global $userdata; in your function and maybe not included the constants.php. That is why $userdata['user_level'] is unset and ADMIN is unset. Now when you compare unset...
by Paddic
Wed Sep 13, 2006 2:42 pm
Forum: 2.0.x Discussion
Topic: [2.0.x] Tweaks for large forums
Replies: 1240
Views: 638963

Re: Templating

// Start caching $row = array(); include($phpbb_root_path . 'cache/theme.' .$phpEx); if (sizeof($row) == 0) { $sql = "SELECT SQL_CACHE * FROM " . THEMES_TABLE . " WHERE themes_id = $style"; if( !$result = $db->sql_query($sql) ) { message_die(CRITICAL_ERROR, 'Could not query data...
by Paddic
Tue Jul 18, 2006 4:28 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] Birthday Extension for Topic Calendar
Replies: 46
Views: 14438

Re: Date format?

Does anyone know what date format this stores into the user_birthday field of the phpbb_users table? For example, my birthday is 10-18-1974 and in the user_birthday field it is stored as 1751. I need to populate this field from a spreadsheet, but I cannot figure out what logic is used to generate t...
by Paddic
Tue Jul 18, 2006 3:27 am
Forum: [2.0.x] MOD Writers Discussion
Topic: help with php here.. some login code
Replies: 16
Views: 6262

bshadow1 wrote: i also need that only certain group can see that page...
how i do that?

thanks


You need [Function] in_group();
by Paddic
Wed Jul 12, 2006 3:27 am
Forum: [2.0.x] MOD Requests
Topic: MOD idea - graphical thread timeline on reply
Replies: 3
Views: 847

more ideas for using timeline

Once the timeline module/logic is implemented, maybe the graphical timeline view could be applied to other places, too. On top of a topic view, for example. In that case, if viewing in "paged topic view", it could show when the posts on that page are posted in relation to the whole topic's...
by Paddic
Wed Jul 12, 2006 3:20 am
Forum: [2.0.x] MODs in Development
Topic: [ALPHA] HTTP Header Mod- If-Modified-Since and Last-Modified
Replies: 15
Views: 1721

Interesting, I'll watch this. Looking through your code, if($forum_id > 0 && isset($forum_id) && $forum_id != ''){ Enough ways to check it really is not empty and it is set? :lol: I think that is a bit redundant. If $forum_id's value is over 0, then it probably is set, and contains a...
by Paddic
Wed Jul 12, 2006 3:08 am
Forum: [2.0.x] MOD Requests
Topic: MOD idea - graphical thread timeline on reply
Replies: 3
Views: 847

MOD idea - graphical thread timeline on reply

When you have an old board, there may be threads that are years old. And sometimes someone picks up an old thread, then someone else start replying to old posts. Usually the issue has gotten obsolete. But sometimes replying to old topics is apropriate, so I don't want to forbid that. I thought of so...
by Paddic
Tue Jul 11, 2006 8:44 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Anything wrong with doing this?
Replies: 5
Views: 1055

group

You should also create the Personal User group for the user, otherwise the permission system breaks.

Look at the code in includes/usercp_register.php, line 620 ->
by Paddic
Tue Jul 11, 2006 8:10 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Writing and closing file error
Replies: 7
Views: 2620

case sensitivity

php variable names are case sensitive.

8O

$filepath is not the same as $Filepath
by Paddic
Tue Jul 11, 2006 7:59 pm
Forum: [2.0.x] MODs in Development
Topic: [ABD] Report Posts (2.1.5)
Replies: 362
Views: 49129

limiting no. of reports per day

Can we fix the number of post user can report in one day? ... or if user can report posts only after, he/she has certain number of posts in the forum? Think if some new user, intentionally reports hundreds of post as spam, just to annoy admin. Thanks, Irene Set Report Flood Interval to 86400 / max_...
by Paddic
Wed Jun 28, 2006 4:57 am
Forum: [2.0.x] MODs in Development
Topic: [ABD] Report Posts (2.1.5)
Replies: 362
Views: 49129

I don't understand why you can't just call the existing functions... It doesn't make sense. No function exists to delete a user? So you just assumed that there are such existing functions for developer to use :) If there is functionality for doing something, it does not mean it is neatly packaged i...

Go to advanced search