Question reguarding...
 
Notifications
Clear all

Question reguarding custom page

51 Posts
6 Users
0 Reactions
7,048 Views
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Ok I was not useing the whole code I was not adding on all the blocls at the top that was a part of the problem

I used your full code cause I could not see which line needed to be edited both looked to be the same to me
which one needed to be edited ?

also can you please tell me how you paste code in the way you do here ?


Somebody is asking for a Hinne Whooping!

 
Posted : 02/11/2009 12:34 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Ah @ Lyndsie, got it. 🙂

@Methen: oooh, I can answer the last question. Wrap the code with [ code] and [ /code] without the spaces. You can click the button that looks like this to have it do it automatically. The button doesn't appear on quick reply though.


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 02/11/2009 1:12 am
(@becca)
Posts: 553
Honorable Member
 

Hello ?

I would just like to let you know, as a friendly reminder as stated in the topic sticked to the top of this fourm "READ THIS BEFORE POSTING!" that we are all volunteers.

Please also remember that everyone working on this site, from the developers to those who provide support on the boards, does so on a purely VOLUNTARY basis, and posting about why we haven't answered your question when you asked it less than 24 hours ago is slightly annoying.

Please keep in mind that all of us answering your questions are not a 24/7 support team, we answer your questions and try to help you because we are all kind enough to want to help out other people and enjoy doing so.


 
Posted : 02/11/2009 1:34 am
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Hello ?

I would just like to let you know, as a friendly reminder as stated in the topic sticked to the top of this fourm "READ THIS BEFORE POSTING!" that we are all volunteers.

Please also remember that everyone working on this site, from the developers to those who provide support on the boards, does so on a purely VOLUNTARY basis, and posting about why we haven't answered your question when you asked it less than 24 hours ago is slightly annoying.

Please keep in mind that all of us answering your questions are not a 24/7 support team, we answer your questions and try to help you because we are all kind enough to want to help out other people and enjoy doing so.

Understood


Somebody is asking for a Hinne Whooping!

 
Posted : 02/11/2009 1:54 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Ugh, my fault on the missing comma. I was using my desktop which has really sticky keys, and I obviously didn't check it over very well before posting. : (  I'll edit that post so if anyone reads it later they won't get messed up.

To post code, put it inside of the code BBC tags. Click the icon with the pound sign (#), above the smiley with an afro.


 
Posted : 02/11/2009 3:41 am
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Thats ok and thank you


Somebody is asking for a Hinne Whooping!

 
Posted : 02/11/2009 12:29 pm
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Ok , I tried to do this again I added another one to see if I could do it everything looks good
and the page loads up fine but the new link is not in the tool bar could you please check the code and see if I did anything wrong  added option number 9 itsmine.

<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;
$blocks["featured"]["status"] =  '0';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
  0 => 'adminarea',
  1 => 'logout',
  2 => 'login',
  3 => 'search',
  4 => 'tens',
  5 => 'browse',
  6 => 'members',
  7 => 'home',
  8 =>'test_link');
  9 =>'itsmine_link');
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
  "title" => "",
  "status" => "1",
  "file" => "menu/menu.php",
  "style" => 0,
  "content" => array (
      0 => 'help',
      1 => 'rules',
      2 => 'contactus'
  )
);
$blocks["login"]["status"] = 1;
$blocks['login']['acctlink'] = 0;
unset($blocks["login"]["template"]);
$blocks["login"]["form"] = 1; // Long form with register and lost password options
$blocks["random"]["status"] = 0;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["tpl"] = 1;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
$blocks['news']['num'] = 3;
$new = "<span class='new'>New!</span>";
$displayprofile = 0;
$linkstyle = 0;
$displayindex = 1;
?>


Somebody is asking for a Hinne Whooping!

 
Posted : 05/11/2009 5:34 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Change:


  8 =>'test_link');
  9 =>'itsmine_link');

To:


  8 =>'test_link',
  9 =>'itsmine_link'
);

The return might help you see the pattern:

array(
0 => 'zero',
1 => 'one',
2 => 'two'
);

is correct.

array(
0 => 'zero',
1 => 'one');
2 => 'two'
);

is not.


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 05/11/2009 5:38 pm
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Nope I copy and pasted it in there just like you showed me same results

<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;
$blocks["featured"]["status"] =  '0';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
  0 => 'adminarea',
  1 => 'logout',
  2 => 'login',
  3 => 'search',
  4 => 'tens',
  5 => 'browse',
  6 => 'members',
  7 => 'home',
  8 =>'test_link');
  9 =>'itsmine_link');
  8 =>'test_link',
  9 =>'itsmine_link'
);
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
  "title" => "",
  "status" => "1",
  "file" => "menu/menu.php",
  "style" => 0,
  "content" => array (
      0 => 'help',
      1 => 'rules',
      2 => 'contactus'
  )
);
$blocks["login"]["status"] = 1;
$blocks['login']['acctlink'] = 0;
unset($blocks["login"]["template"]);
$blocks["login"]["form"] = 1; // Long form with register and lost password options
$blocks["random"]["status"] = 0;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["tpl"] = 1;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
$blocks['news']['num'] = 3;
$new = "<span class='new'>New!</span>";
$displayprofile = 0;
$linkstyle = 0;
$displayindex = 1;
?>


Somebody is asking for a Hinne Whooping!

 
Posted : 05/11/2009 5:57 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Um, no, you just appended it, you didn't change it... Do you see where you went wrong?

Just get rid of this from the code you just pasted:

   8 =>'test_link');
  9 =>'itsmine_link');

archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 05/11/2009 7:17 pm
(@methen)
Posts: 77
Estimable Member
Topic starter
 

well I tried it this way which looks just like my back up  I also try putting the  ); in the next line by itself same results

<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;
$blocks["featured"]["status"] =  '0';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
  0 => 'adminarea',
  1 => 'logout',
  2 => 'login',
  3 => 'search',
  4 => 'tens',
  5 => 'browse',
  6 => 'members',
  7 => 'home',
  8 =>'test_link',
  9 =>'itsmine_link');
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
  "title" => "",
  "status" => "1",
  "file" => "menu/menu.php",
  "style" => 0,
  "content" => array (
      0 => 'help',
      1 => 'rules',
      2 => 'contactus'
  )
);
$blocks["login"]["status"] = 1;
$blocks['login']['acctlink'] = 0;
unset($blocks["login"]["template"]);
$blocks["login"]["form"] = 1; // Long form with register and lost password options
$blocks["random"]["status"] = 0;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["tpl"] = 1;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
$blocks['news']['num'] = 3;
$new = "<span class='new'>New!</span>";
$displayprofile = 0;
$linkstyle = 0;
$displayindex = 1;
?>


Somebody is asking for a Hinne Whooping!

 
Posted : 05/11/2009 8:41 pm
(@tammy)
Posts: 2577
Member Moderator
 

I see your test link.  However, it's the first link in the list as the links are floated right making the first link in the list the last link to be displayed.


 
Posted : 05/11/2009 10:01 pm
(@methen)
Posts: 77
Estimable Member
Topic starter
 

Tammy  you kinda lost me there.


Somebody is asking for a Hinne Whooping!

 
Posted : 05/11/2009 10:18 pm
(@tammy)
Posts: 2577
Member Moderator
 

Look at the numbers on the list.  The links actually appear in the OPPOSITE order.


 
Posted : 05/11/2009 10:21 pm
(@methen)
Posts: 77
Estimable Member
Topic starter
 

There appear in the exact order as the oringal back up  minus the number 9 I added
sorry but you totaly lost me.


Somebody is asking for a Hinne Whooping!

 
Posted : 05/11/2009 11:45 pm
Page 3 / 4
Share: