Daniel Posted October 29, 2010 Report Share Posted October 29, 2010 could someone tell me which folder where the signature is in so i can edit the text that and other stuff that is shown on it? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 29, 2010 Moderators Report Share Posted October 29, 2010 HI these settings are in the app.config.php, just copy them over to your local.config.php and change as you wish, you will need to regenerate your signatures from with in the admin panel once you have changed the settings. # Options for the signature that's generated Config::Set('SIGNATURE_TEXT_COLOR', '#000'); Config::Set('SIGNATURE_USE_CUSTOM_FONT', true); Config::Set('SIGNATURE_FONT_PATH', SITE_ROOT.'/lib/fonts/tahoma.ttf'); Config::Set('SIGNATURE_FONT_SIZE', '10'); Config::Set('SIGNATURE_X_OFFSET', '10'); Config::Set('SIGNATURE_Y_OFFSET', '17'); Config::Set('SIGNATURE_FONT_PADDING', 4); Config::Set('SIGNATURE_SHOW_EARNINGS', true); Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); Config::Set('SIGNATURE_SHOW_COPYRIGHT', true); If you want to use a custom font just download it and place it in the referenced folder. Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 ok thanks alot by any chance could you help me get all the pilot in one big list so there are not organized by hubs? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 29, 2010 Moderators Report Share Posted October 29, 2010 Yes i seen a post here somewhere, let me have a look and ill get back to you with the code after testing it. Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 ok thanks alot Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 29, 2010 Moderators Report Share Posted October 29, 2010 I don't have much time but this is a quick hack, not the ideal solution but it may be OK for you, Just a couple of edits, Find pilots.php in the core/modules/pilots and comment out the following,line 31 and 32, //$this->set('title', $hub->name); //$this->set('icao', $hub->icao); Then go over to the template pilots_list.tpl in your skins profile and remove the h3 tag at the top. Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 thanks very much Mark Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 but the table is still there any ideas? Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 i just want one table. not a table for each hub thanks Daniel Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 29, 2010 Moderators Report Share Posted October 29, 2010 Yeh that's why i said its not ideal. Like simpilot said you might as well be better off creating your own, you can try this and expand on it, In the pilots_list.tpl you can try, <?php $this->set('pilots', PilotData::getAllPilots()); ?> <div class=â€mcrightâ€> <table width="700" cellspacing="1" cellpadding="5" border="1"> <tr> <td>Pilot</td> <td>Country</td> </tr> <?php foreach($allpilots as $pilot) { echo '<tr>'; echo '<td>'.$pilot->firstname.' '.$pilot->lastname.'</td>'; echo '<td>'.$pilot->location.'</td>'; echo '</tr>'; } ?> </table> </div> Just add to the fields you want to display, not the ideal solution as you have the code in the template. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 29, 2010 Moderators Report Share Posted October 29, 2010 OK forget that that doesnt work either lol Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 29, 2010 Author Report Share Posted October 29, 2010 lol, umm any other ideas? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 30, 2010 Moderators Report Share Posted October 30, 2010 http://forum.phpvms.net/topic/3899-no-hub/page__pid__26364 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.