Search found 23 matches

by 2bit
24 Aug 2008, 21:04
Forum: MOD Feedback
Topic: [DEV] Friends & Foe Page / need help & feedback
Replies: 7
Views: 2953

Re: [DEV] Friends & Foe Page / need help & feedback

Okay, let's see if i can whip up some tips for you. :D This is not needed for your page, you can remove it. include($phpbb_root_path . 'includes/functions_display.' . $phpEx); This code is missing the quotes: $user->setup(mods/friends_foes_lang_file); Now let's have a look at combining the queries ...
by 2bit
12 Aug 2008, 01:37
Forum: MOD Feedback
Topic: [DEV] Friends & Foe Page / need help & feedback
Replies: 7
Views: 2953

Re: [DEV] Friends & Foe Page / need help & feedback

a syntax error was found in the above code the correct code is bellow. I will check it later to make shore it works! <?php /** * * @author 2bit atlantis_network@hotmail.com.tld -http://jamiedawes.blogspot.com/ .tld * @author Another Author Username another_email@domain.tld - http://domain.tld * * @p...
by 2bit
12 Aug 2008, 01:24
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Template code

Thanks a bunch eviL<3, You have eyes like a hawk three people didnt catch that mistake! <!-- s:D --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> I have to put the page on hold for a while its been soaking up all my time lately. I am going to fix it and redo...
by 2bit
09 Aug 2008, 19:16
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Template code

:D THANKS I tried the following and i am getting a blank page no error or anything. I think the code in the php file is wrong somehow. friends_foes.php <?php /** * * @author 2bit atlantis_network@hotmail.com.tld -http://jamiedawes.blogspot.com/ .tld * @author Another Author Username another_email@do...
by 2bit
09 Aug 2008, 04:01
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Template code

the following code if (sizeof($friends)) { foreach ($friends as $row) { $template->assign_block_vars('friendsrow', array( 'FRIENDS' => $row, )); } will be the following on a template <!-- BEGIN friendsrow --> <tr> <td>{friendsrow.FRIENDS}</td> </tr> <!-- END friendsrow--> how do you display the foll...
by 2bit
08 Aug 2008, 03:02
Forum: MOD Feedback
Topic: [DEV] Friends & Foe Page / need help & feedback
Replies: 7
Views: 2953

Re: [DEV] Friends & Foe Page / need help & feedback

I am currently working on displaying who is online and offline among the users friends and foes. I had to combine the three arrays ($online, $foes, and $friends) I need someone to check the code so far. here is the code friends_foes.php $sql = 'SELECT z.friend, u.username, u.username_clean FROM ' . ...
by 2bit
08 Aug 2008, 02:30
Forum: MOD Feedback
Topic: [DEV] Friends & Foe Page / need help & feedback
Replies: 7
Views: 2953

THE CODE IN THE SOURCE FILES

Friends_foes.php <?php /** * * @author 2bit atlantis_network@hotmail.com.tld -http://jamiedawes.blogspot.com/ .tld * @author Another Author Username another_email@domain.tld - http://domain.tld * * @package {friends_foes.php} * @version $Id$ * @copyright (c) 2008 Atlantis Network * @license http://o...
by 2bit
08 Aug 2008, 02:20
Forum: MOD Feedback
Topic: [DEV] Friends & Foe Page / need help & feedback
Replies: 7
Views: 2953

[DEV] Friends & Foe Page / need help & feedback

MOD title: Friends & Foe Page MOD description: displays current users friends and foes on a custom page MOD version: 1.0 phpBB version: phpbb3 Development stage: DEV MOD Format: mod MOD download: Demo: N/A Credits: blazes816 / eviL<3 / Elglobo / BetaDevil / A_Jelly_Doughnut/ This is my first mo...
by 2bit
08 Aug 2008, 01:06
Forum: Introductions
Topic: its just me 2bit
Replies: 4
Views: 1862

its just me 2bit

I almost forgot my intro. I am a code junkie always looking to learn what i can. I love hacking phpbb3 mods, and am currently trying to learn how to create a mod instead of just modifying them. I dont mind pm's so feel free to pm me about anything i like to bs about computers, pets, weather..... Hop...
by 2bit
07 Aug 2008, 23:23
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Help with Friend/Foe page

Thanks for the code that was awsome! i have combined the three arrays but am unshore if it is correct. the code is as follows: $sql = 'SELECT z.friend, u.username, u.username_clean FROM ' . ZEBRA_TABLE . ' z, ' . USERS_TABLE . ' u WHERE z.user_id = ' . $user->data['user_id'] . ' AND u.user_id = z.ze...
by 2bit
07 Aug 2008, 05:18
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Help with Friend/Foe page

:D I have everything typed out for refrence in case i forget or get lost. I am currently working on putting together three arrays ($online, $foes, and $friends) this is what i have so far. I am unshore if it is correct or not. $sql = 'SELECT z.friend, u.username, u.username_clean FROM ' . ZEBRA_TABL...
by 2bit
06 Aug 2008, 21:35
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Help with Friend/Foe page

It was a syntax error! nevermind
by 2bit
06 Aug 2008, 21:26
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Help with Friend/Foe page

every time i try to load it i get the following error message General Error template->_tpl_load_file(): File ./styles/acidtechred/template/ FF_view.html does not exist or is empty heres the code friends_foes.php <?php /** * * @author 2bit atlantis_network@hotmail.com.tld -http://jamiedawes.blogspot....
by 2bit
06 Aug 2008, 18:05
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: Help with Friend/Foe page

<!-- s:D --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Thanks a bunch guys for clearing all of that up! I was confused on what or whome was wright about the code. I had a feeling that he was wrong and that it was correct. I had to make shore because i am ...
by 2bit
06 Aug 2008, 16:07
Forum: phpBB Development discussion
Topic: Help with Friend/Foe page
Replies: 27
Views: 15060

Re: friends and foes table?! toatly lost

Re: db question / friends /where? by Brf on Tue Aug 05, 2008 11:01 am No. $row is an array. You cannot assign an array to a template variable. Look at my code there above yours and see how I am doing it. :oops: I am confused because i am ushore what BRF meant about the code <?php /** * @ignore */ d...

Go to advanced search