Search found 426 matches

by ChaosBringer
Sat Feb 06, 2010 6:16 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Trying to get SCRIPT_NAME to work for parent directory.
Replies: 11
Views: 1837

Re: Trying to get SCRIPT_NAME to work for parent directory.

The Script_name is defined in sessions.php

Code: Select all

function extract_current_page($root_path)
 
by ChaosBringer
Sat Feb 06, 2010 6:13 am
Forum: [3.0.x] MOD Writers Discussion
Topic: How do I add the copyright date?
Replies: 13
Views: 2241

Re: How do I add the copyright date?

Yes but by looking at that code i can see that it would only return the difference, you want to add a 20 in front of that. ( Since no one here will be alive by the year 2100 + i suppose ) SO If you dont mind me adding something $start = 2010; // The year the site started $current = date('Y'); // The...
by ChaosBringer
Sat Feb 06, 2010 6:04 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Adding who is online to my splash page.
Replies: 1
Views: 254

Re: Adding who is online to my splash page.

updating the page happens in the sessions.php file.

So you would have to add your splash page to the phpBB system.

There is a mod for this i believe (Custom Page Mod?), just do a quick search in the mod DB and it will tell you how to do it.
by ChaosBringer
Sat Feb 06, 2010 5:49 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Creating condition statements
Replies: 11
Views: 662

Re: Creating condition statements

um...something like

Code: Select all

$template->assign_var( 'S_USER_ZERO_POSTS', ( !empty( $user->data['user_posts'] ) && ( $user->data['user_posts']  == 0 ) ) ? true : false );

? :P
by ChaosBringer
Fri Feb 05, 2010 1:56 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Creating condition statements
Replies: 11
Views: 662

Re: Creating condition statements

Do you mean a function that returns all the users with 0 posts?

I think the correct place to look would be
acp_inactive
acp_prune


What exactly are you trying to do?
by ChaosBringer
Fri Feb 05, 2010 1:48 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Tools for development
Replies: 92
Views: 112930

Re: Tools for development

For Linux ( Ubuntu ) I personally recommend BlueFish and Gedit as well as Zend Studio for debugging code. IDEs Zend Studio ( or community edition ) Eclipse Anjunta Kompozer Lazareous UltraEdit Bluefish GedIt I use meld...nothing else. Comparison Tools Meld Diff KDiff Management XAMPP ( Easier to ma...
by ChaosBringer
Thu Nov 19, 2009 8:13 am
Forum: [3.0.x] MOD Writers Discussion
Topic: So nested forms arent valid...need help
Replies: 0
Views: 80

So nested forms arent valid...need help

Never Mind...Figured it out.

[Edited.]
by ChaosBringer
Sat Sep 12, 2009 1:00 am
Forum: [3.0.x] Styles Database Releases
Topic: twilightBB
Replies: 150
Views: 43398

Re: twilightBB

Your kidding right? no one can help?
by ChaosBringer
Mon Sep 07, 2009 2:21 pm
Forum: [3.0.x] Styles Database Releases
Topic: twilightBB
Replies: 150
Views: 43398

Re: twilightBB

SO.....i do decent php coding, and decent html coding, but not so good with CSS and divs, so, if anyone can help me out that would be very nice.

Thanks.
by ChaosBringer
Sat Sep 05, 2009 1:34 am
Forum: [3.0.x] MOD Writers Discussion
Topic: What is wrong with my query?
Replies: 3
Views: 187

Re: What is wrong with my query?

Yep, that did it.

I thought php handled variables without having to define them in any way. Why does mysql need single quotations when handling strings?
by ChaosBringer
Sat Sep 05, 2009 1:01 am
Forum: [3.0.x] MOD Writers Discussion
Topic: What is wrong with my query?
Replies: 3
Views: 187

What is wrong with my query?

$update_name = utf8_normalize_nfc(request_var('target_name', '', true)); $update_phone = utf8_normalize_nfc(request_var('target_phone', '', true)); $update_location = utf8_normalize_nfc(request_var('target_location', '', true)); $update_close = utf8_normalize_nfc(request_var('target_close', '', tru...
by ChaosBringer
Fri Sep 04, 2009 6:53 pm
Forum: [3.0.x] MOD Database Releases
Topic: Topic Text in Mouse Over
Replies: 1003
Views: 72318

Re: Topic Text in Mouse Over

Edit: Figured out issue.
by ChaosBringer
Fri Sep 04, 2009 6:03 pm
Forum: [3.0.x] MOD Database Releases
Topic: Topic Text in Mouse Over
Replies: 1003
Views: 72318

Re: Topic Text in Mouse Over

ChriZathens wrote:
RMcGirr83 wrote: You can see the mod in action by visiting here and hovering your mouse over a topic title.
From my browser it doesnt seem like it works on your website either. Just using firefox.
by ChaosBringer
Fri Sep 04, 2009 6:01 pm
Forum: [3.0.x] MOD Database Releases
Topic: Topic Text in Mouse Over
Replies: 1003
Views: 72318

Re: Topic Text in Mouse Over

So, i installed this mod, and its not working for me. File edits all went fine, SQL fine, even templates went fine. I cleared both caches, and refreshed the template, and i also activated it in the ACP, still nothing. Using Firefox and Opera, is this for IE only?

Anyways, please advice.
by ChaosBringer
Thu Sep 03, 2009 2:46 pm
Forum: [3.0.x] Styles Database Releases
Topic: twilightBB
Replies: 150
Views: 43398

Re: twilightBB

Hey guys,

Im trying to make the buttons for reporting, warning etc etc, Align at the bottom of the post as indicated in the picture above.

If its possible, i would also like to allign the signature at the bottom.

I tried valign="bottom" but it is not working.

Please advice. Thanks.

Go to advanced search