Search found 516 matches

by UseLess
Tue Aug 11, 2009 1:09 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings,

Can you supply me with some lua and bash code?

And I've asked for the submitted update to be denied as bigwebmaster came up with an easier way of handling malformed tags... I've changed the code a little and also added the option to override the 'code' tag.
by UseLess
Mon Aug 10, 2009 8:59 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings, Version 1.0.14 has been submitted for validation. Version 1.0.14 changes: - Stopped the syntax tag being parsed if BBCode tags are malformed (in the wrong order) Version 1.0.13 changes: - Redone the way a function works... the mod now works where it used to before I broke it - Moved xs_bb...
by UseLess
Sun Aug 09, 2009 5:13 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings, Sorry but your going to have to wait a little while longer as I've asked for the update to be denied as an issue was raised which has been resolved and once I'm done decorating I'll update the install xml file etc and resubmit it for validation. The update should be done in a few days and...
by UseLess
Wed Aug 05, 2009 5:09 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Invisible characters?
Replies: 3
Views: 296

Re: Invisible characters?

Greetings,

If your processing the smilie then the 2nd string may hold the html image info, hence the reason for the longer string.
by UseLess
Tue Aug 04, 2009 5:47 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings,

Yes it'll be easy to update... alter 1 file, delete 1 file and upload some, clear the cache, refresh templates and theme data and job done.
by UseLess
Tue Aug 04, 2009 4:21 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings, It now works in: - Posts (obviously) - When replying to a post also now works in post review - PM - When replying to a PM also now works in PM History - MCP - Post Preview Some of the above worked and then got broke. Now they all work, well they do on my dev forum and I get no errors. Upd...
by UseLess
Tue Aug 04, 2009 12:38 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings,

Update complete and submitted for validation.
by UseLess
Fri Jul 31, 2009 9:35 am
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25225

Re: Syntax Highlighter

Greetings, Sorry for the late reply but I got the email about replies to this topic just now. I'm working on a update to this and one of the changes will be knowing if you are in the UCP or in the UCP viewing the PM pages, along with some other tweaks. It's not quite ready and will have to be submit...
by UseLess
Wed Jul 29, 2009 2:35 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: [Solved Again] Fun Pagination Results
Replies: 10
Views: 789

Re: [New Issue] Fun Pagination Results

Greetings, What I mean is the code is only ever going to return the number of items in the db that match your criteria. So if you have 20 movies it's going to set $total_movies to 20. Because your asking the db server to 'count' the number of movies in a category, your not asking it to return any ro...
by UseLess
Tue Jul 28, 2009 9:27 am
Forum: [3.0.x] MOD Writers Discussion
Topic: [Solved Again] Fun Pagination Results
Replies: 10
Views: 789

Re: [New Issue] Fun Pagination Results

Greetings,

The above script is only getting a 'count' of the number of movies that are in $cat and is not returning any rows. Your missing the query that grabs the rows based on $cat where you can then specify $start and $limit.
by UseLess
Fri Jul 24, 2009 11:51 am
Forum: [3.0.x] MOD Writers Discussion
Topic: new pages in view online (outside forum root)
Replies: 8
Views: 1377

Re: new pages in view online (outside forum root)

Greetings, Try this: # #-----[ OPEN ]------------------------------------------------------- # viewonline.php # #-----[ FIND ]------------------------------------------------------- # preg_match('#^([a-z/_]+)#i', $row['session_page'], $on_page); if (!sizeof($on_page)) { $on_page[1] = ''; } # #-----[...
by UseLess
Thu Jul 23, 2009 9:29 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Creating a new variable?
Replies: 2
Views: 188

Re: Creating a new variable?

Greetings,

Code: Select all

'CURRENT_DATE' => date("j M Y")
would produce: 1 Jul 2009

Code: Select all

'CURRENT_DATE' => date("j F Y")
would produce: 1 July 2009

see the php date function for the various options.
by UseLess
Thu Jul 23, 2009 5:31 am
Forum: [3.0.x] MOD Requests
Topic: Mod Queries
Replies: 2
Views: 118

Re: Mod Queries

Greetings,

It's built-in... visit the ACP and click in the 'Maintainance' Tab and then click on 'Moderator Log' on the left.
by UseLess
Mon Jul 20, 2009 3:14 am
Forum: [3.0.x] MOD Requests
Topic: Changing the FAQ Button!
Replies: 3
Views: 178

Re: Changing the FAQ Button!

Greetings,

Open: includes/functions.php
Search for: U_FAQ
by UseLess
Sun Jul 19, 2009 11:09 am
Forum: [3.0.x] MOD Writers Discussion
Topic: [Solved Again] Fun Pagination Results
Replies: 10
Views: 789

Re: [I am Trying] Fun Pagination Results [Help]

Greetings,

Try changing this:

Code: Select all

$limit   = request_var('limit', (int) $limit);
to:

Code: Select all

$limit   = request_var('limit', 10);

Go to advanced search