Search found 74 matches

by z4g0rz4g0r
Sun Jun 15, 2008 8:25 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: PM counts out of sync
Replies: 0
Views: 907

PM counts out of sync

Hey guys, for some reason the pm counts for unread/new messages are out of sync, as its reporting that a user has a waiting message, when they don't (i've verified this on the database). As far as i know, i dont think this is a global issue, and only a handfull of users are affected. I've written a ...
by z4g0rz4g0r
Sun Jun 15, 2008 11:46 am
Forum: [2.0.x] MOD Requests
Topic: Private [Hidden] Forum's
Replies: 2
Views: 2108

Re: Private [Hidden] Forum's

MOD: Forum Auth by Post Count

I'm sure there's other ones - but that was the first one that i remembered - as it was one of drathbun's :)
by z4g0rz4g0r
Sun Jun 15, 2008 11:33 am
Forum: [2.0.x] MOD Writers Discussion
Topic: adding 4th text in forum header
Replies: 12
Views: 1768

Re: adding 4th text in forum header

There's no userid being passed on the end of "user=" - which is why its not working. Does your mod display all topics started by the user logged in, or does it display all topics started by another user? If its for the user logged in you can use the session state to grab the value: 'U_SEARCH_MYTOPS'...
by z4g0rz4g0r
Sat Jun 14, 2008 7:42 pm
Forum: 2.0.x Support Forum
Topic: disable memberlist ?
Replies: 5
Views: 467

Re: disable memberlist ?

I think AcidRain wanted it for mods and admins. Open memberlist.php:

find:

Code: Select all

//
// End session management
//
replace with:

Code: Select all

//
// End session management
//

if ( !($userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD) )
{
    message_die(GENERAL_ERROR, $lang['Not_Authorised']);
}

by z4g0rz4g0r
Fri Jun 13, 2008 9:45 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: [RegExp] Adding Search Words
Replies: 5
Views: 1466

Re: [RegExp] Adding Search Words

Thanks t0ny, it works perfectly :)
by z4g0rz4g0r
Fri Jun 13, 2008 7:47 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: [RegExp] Adding Search Words
Replies: 5
Views: 1466

Re: [RegExp] Adding Search Words

thanks for the reply tony! I'll give it a go :D

by the way, what does the +|\b\d+\w+ part do? I'm still learning regexp and the syntax
by z4g0rz4g0r
Fri Jun 13, 2008 6:10 pm
Forum: 2.0.x Support Forum
Topic: How to prevent from opening a new window
Replies: 6
Views: 383

Re: How to prevent from opening a new window

Code: Select all

<base target="_blank">
try looking in overall_header.tpl and simple_header.tpl for that line and remove it. Its just above the google search code (if that helps).
by z4g0rz4g0r
Fri Jun 13, 2008 6:02 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: adding 4th text in forum header
Replies: 12
Views: 1768

Re: adding 4th text in forum header

It looks like yours is a modified template, just add...

Code: Select all

<a href="{U_SEARCH_MYTOPS}" class="gensmall">{L_SEARCH_MYTOPS}</a>
...wherever you wish it to appear (inside index_body.tpl) :)
by z4g0rz4g0r
Tue Jun 10, 2008 11:28 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: adding 4th text in forum header
Replies: 12
Views: 1768

Re: adding 4th text in forum header

Open index_body.tpl, and find: <a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> replace with: <a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /><a href="{U_SEARCH_MYTOPS}" class="gensmall">{L_SEARCH_MYTOPS}</a><br /> open /includes/page_header.php, and find: 'U_...
by z4g0rz4g0r
Sat Jun 07, 2008 11:48 am
Forum: 2.0.x Support Forum
Topic: Email Notification
Replies: 3
Views: 334

Re: Email Notification

It does this by default. If your configuration is set to user activation then it will send them an e-mail activiation-message. If your configuration is set to administrator activation then it will send them an e-mail message. If no activation method is specified then it will send a standard welcome ...
by z4g0rz4g0r
Sat Jun 07, 2008 11:39 am
Forum: 2.0.x Support Forum
Topic: Where is the Admin email for registration?
Replies: 9
Views: 686

Re: Where is the Admin email for registration?

A group? You cant assign groups with the administrator level - you can only assign users. Regardless of what groups you have removed yourself from, if you can access the admin panel (or see a link for it), then your still an administrator - and thus will receive the activation emails. To prevent thi...
by z4g0rz4g0r
Fri Jun 06, 2008 10:45 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: [RegExp] Adding Search Words
Replies: 5
Views: 1466

Re: [RegExp] Adding Search Words

Anyone?

I understand its a difficult task so I totally understand if no-one has a solution to my predicament :)
by z4g0rz4g0r
Fri Jun 06, 2008 10:27 pm
Forum: 2.0.x Support Forum
Topic: Where is the Admin email for registration?
Replies: 9
Views: 686

Re: Where is the Admin email for registration?

The e-mail addresses for administrator-user activation are generated from a query on the e-mail field for each administrator (All administrators on a forum, will receive these messages, when a user registers).

Hope that helps :)
by z4g0rz4g0r
Tue Jun 03, 2008 11:27 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: New PM's
Replies: 5
Views: 1497

Re: New PM's

You might be better off doing something like this.... $sql = "SELECT poster, posted, message FROM shouts ORDER BY id"; if ( $result = $db->sql_query($sql) ) { if ( $db->sql_numrows($result) > 0 ) { while( $row = $db->sql_fetchrow($result) ) { echo "<br />Date: " . gmdate("D d M Y, g:i a", $row['post...
by z4g0rz4g0r
Mon Jun 02, 2008 5:41 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: [RegExp] Adding Search Words
Replies: 5
Views: 1466

[RegExp] Adding Search Words

Hi guys, RegExp isnt my strong-point, so i need help with a statement. I'm currently using the following under clean_words() in functions_search.php: $entry = preg_replace('/\b([S]{1,3}|[S]{15,})\b/',' ', $entry); I wish to remove all non-english characters, if its possible to do so? By non-english,...

Go to advanced search