Search found 516 matches

by UseLess
Fri Jul 17, 2009 6:18 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Getting the username
Replies: 11
Views: 316

Re: Getting the username

Greetings, It's never going to work... you define $ghfchat in one function then try to use it in another :? Where you added this: 'U_GHF_CHAT' => append_sid("{$ghfchat}"), change it to: 'U_GHF_CHAT' => $ghfchat, then above it find the line that reads: // The following assigns all _common_ variables ...
by UseLess
Fri Jul 17, 2009 3:23 am
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 25226

Syntax Highlighter

Greetings, I'd like to thank the MOD Team for validating the mod. Notes : After installation of this mod you will need to clear the cache from the ACP so the hook information can be updated. This process 'should' clear the cached template files, along with everything else, but if you have any issues...
by UseLess
Thu Jul 16, 2009 7:09 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Element content is not allowed
Replies: 12
Views: 1837

Re: Element content is not allowed

Greetings, Just created a dummy zip and ran it through the local copy I have of the MPV and this is the report I got: Validation results: Validating zip [ NOTICE ] GENERAL_NOTICE [ FAIL ] Digests/install-digest.xml: LINK_NOT_EXISTS ./contrib/readme.html [ FAIL ] Digests/install-digest.xml: LINK_NOT_...
by UseLess
Thu Jul 16, 2009 6:58 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Element content is not allowed
Replies: 12
Views: 1837

Re: Element content is not allowed

Greetings, Mark, give me some credit please... ;) I may be UseLess but not THAT useless ... ;) Put in the same folder I have the Syntax Highlighter install.xml file that renders fine for some very weird reason your's does not and I called the file 'install-digest.xml' but it just does not want to pl...
by UseLess
Thu Jul 16, 2009 6:48 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Element content is not allowed
Replies: 12
Views: 1837

Re: Element content is not allowed

Greetings,

Well tested in Firefox 3.5 and it's not rendering at all... page full of text is all I'm getting.
by UseLess
Thu Jul 16, 2009 6:25 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Element content is not allowed
Replies: 12
Views: 1837

Re: Element content is not allowed

Greetings, Try this: <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml-stylesheet type="text/xsl" href="./modx.prosilver.en.xsl"?> <!--For security purposes, please check: http ://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in t...
by UseLess
Thu Jul 16, 2009 3:24 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] phpbb Arcade Challenge Mode 0.0.6
Replies: 204
Views: 7406

Re: [BETA] phpbb Arcade Challenge Mode 0.0.2

Greetings,

Re your last paragraph... you only need to check the 'game_scoretype' field in the 'phpbb_arcade_games' table... 0 = high score, 1 = low score
by UseLess
Thu Jul 16, 2009 1:00 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Finaly figured template if else (blush)
Replies: 9
Views: 1243

Re: Finaly figured template if else (blush)

Greetings,

Change 'list2' to match the opening 'avataru' in the last code block above...
by UseLess
Thu Jul 16, 2009 12:56 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] phpbb Arcade Challenge Mode 0.0.6
Replies: 204
Views: 7406

Re: [BETA] phpbb Arcade Challenge Mode 0.0.2

Greetings, Well seeing as your altering it again... ;) how about a Challenge tracker so you can see, on a leaderboard type page, how many challenges a user has made, won, lost etc. Oh! and if your going to change the db schema then the 'game_id' field needs to be unsigned as well. Have you also take...
by UseLess
Thu Jul 16, 2009 10:08 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Finaly figured template if else (blush)
Replies: 9
Views: 1243

Re: Finaly figured template if else (blush)

Greetings, I'm surprised your not getting errors as the if is badly formed... try this: <!-- BEGIN champl --> {champl.CHAMP_LOSE}<br /><br /> <!-- IF champ.T_AVATAR_GALLERY_PATH --> <img src="{T_AVATAR_GALLERY_PATH}{champl.AVATAR}" alt="" title="" /> <!-- ELSE --> <img src="path to no avatar image o...
by UseLess
Thu Jul 16, 2009 8:55 am
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] phpbb Arcade Challenge Mode 0.0.6
Replies: 204
Views: 7406

Re: [BETA] phpbb Arcade Challenge Mode 0.0.2

Greetings, CREATE TABLE `phpbb_arcade_challenge` ( `chall_id` INT( 255 ) NULL AUTO_INCREMENT PRIMARY KEY , `chall_send` TINYINT( 1 ) NOT NULL DEFAULT '0', `chall_accept` TINYINT( 1 ) NOT NULL DEFAULT '0', `chall_deny` TINYINT( 1 ) NOT NULL DEFAULT '0', `challenger` VARCHAR( 255 ) CHARACTER SET utf8 ...
by UseLess
Wed Jul 15, 2009 6:51 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] phpbb Arcade Challenge Mode 0.0.6
Replies: 204
Views: 7406

Re: [BETA] phpbb Arcade Challenge Mode

Greetings,

While your on updating... change all the table names to constants... otherwise people who don't use the default table prefix won't be able to use this until you do make the change.
by UseLess
Wed Jul 15, 2009 1:36 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Element content is not allowed
Replies: 12
Views: 1837

Re: Element content is not allowed

Greetings,

Try wrapping all your finds, replaces etc in:

Code: Select all

<![CDATA[  <your stuff in here> ]]>
replace the <your stuff in here> with whatever is required.
by UseLess
Tue Jul 14, 2009 1:11 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Strip Smiley URL out of post_text using preg_m...
Replies: 11
Views: 860

Re: Strip Smiley URL out of post_text using preg_m...

Greetings, Really not sure what your trying to do here... but anyway... wouldn't it be easier to alter your tables by adding a 'post_id' field and then regardless of the mode used (i.e. edit, reply etc) simply calculate the number of BBCodes/Smilies in the post and store that along with the post id....
by UseLess
Mon Jul 13, 2009 11:48 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: [SOLVED] Challenge Mod Thanx Useless
Replies: 18
Views: 693

Re: [SOLVED] Challenge Mod Thanx Useless

Greetings, Pleased you got it working, you can place this where I said before: // check if chall_id is in the $game_data array if( $game_data['chall_id'] != 0 ) { $chall_id = $game_data['chall_id']; // grab all data from the row for the chall_id $sql = "SELECT * FROM " . ARCADE_CHALLENGE_TABLE . " W...

Go to advanced search