Search found 67 matches

by RMcGirr83
11 Mar 2012, 14:27
Forum: User Contributions
Topic: [REMOVED] PLEASE DELETE POST
Replies: 2
Views: 2560

[RC]MMH Style Selector

I highly recommend that users do not install this mod onto their forum as there is a SQL injection within it

Code: Select all

$sql = 'UPDATE ' . USERS_TABLE . ' SET user_style = ' . $_POST['selectskin'] . ' WHERE user_id = ' . $user->data['user_id'];
$_POST['selectskin'] is not sanitized.
by RMcGirr83
09 Mar 2012, 21:13
Forum: User Contributions
Topic: Simple Back to Top Scroll
Replies: 8
Views: 7545

Simple Back to Top Scroll

Add Below <script type="text/javascript" src="{ROOT_PATH}script/scrolltopcontrol.js" type="text/javascript"></script> Is wrong. Why type="text/javascript" twice? you should at least give credit to the site where the files are from:http://www.dynamicdrive.com/...
by RMcGirr83
27 Feb 2012, 12:57
Forum: User Discussions
Topic: Closing, Why?
Replies: 39
Views: 9901

Closing, Why?

:lol:

Maybe I am and maybe I'm not. :P
by RMcGirr83
26 Feb 2012, 14:58
Forum: User Discussions
Topic: Closing, Why?
Replies: 39
Views: 9901

Closing, Why?

As posted by stoker himself @ Stoker - Fri Feb 24, 2012 11:37 am Thats just a coinsidence Oh really? $("#time").countdown({ date: "2012/04/01 00:00:00", onComplete: function( event ) { $(this).html("April Fools :o)"); }, leadingZero: true, htmlTemplate: "<span cla...
by RMcGirr83
24 Feb 2012, 13:34
Forum: User Contributions
Topic: Show Poll Voters
Replies: 5
Views: 6944

Show Poll Voters

The code you are using will execute a sql query for every answer within a poll. If there are 10 poll answers, then the query will generate 10 times.

This is known as a "query in loop"

Not a very efficient way of doing it, IMHO.
by RMcGirr83
24 Feb 2012, 13:30
Forum: User Discussions
Topic: Closing, Why?
Replies: 39
Views: 9901

Closing, Why?

Because April 1st is 2012's doomsday.
by RMcGirr83
07 Jan 2012, 15:08
Forum: User Discussions
Topic: Can any one tell me how many wrong JS i have in this - pleas
Replies: 5
Views: 3456

Can any one tell me how many wrong JS i have in this - pleas

I see that you have all this wonderful jQuery add-ons, yet I don't see any link to the jQuery library.
by RMcGirr83
05 Dec 2011, 23:33
Forum: Top Stats
Topic: Exclude forums from Recent Active
Replies: 17
Views: 6197

Exclude forums from Recent Active

doktornotor wrote:
Stoker wrote:Could be: AND t.forum_id <> 11 AND t.forum_id <> 18
Or maybe something like:

Code: Select all

$recent_forums_excluded = array(1,2,3,4,5);

...

AND !in_array($data['t.forum_id'], $recent_forums_excluded)

Code: Select all

AND ' . $db->sql_in_set('t.forum_id', $recent_forums_excluded, false)
;)
by RMcGirr83
05 Dec 2011, 23:26
Forum: User Contributions
Topic: [Snippet] Rows Forums & Topics clikables without mod
Replies: 19
Views: 6256

[Snippet] Rows Forums & Topics clikables without mod

me wrote:any time you edit any of the phpBB default code, that includes html files, it is considered a mod as it is changing the default behavior of phpBB.
I should have said default phpBB html files.

Styles are a different breed and I leave that to Raimon at .com.<---- shameless waiver ;)
by RMcGirr83
05 Dec 2011, 23:20
Forum: User Contributions
Topic: [Snippet] JQuery effect on "Back to Top"
Replies: 9
Views: 4642

[Snippet] JQuery effect on "Back to Top"

Also works with out the jquery part <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> Not possible as the code in use is jQuery code. It won't work without jQuery being loaded so you must already have some jQuery code...