Forum

Question reguarding...
 
Notifications
Clear all

Question reguarding custom page

Page 3 / 4
Methen
(@methen)
Trusted Member

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!

ReplyQuote
Topic starter Posted : 02/11/2009 5:34 am
Elle
 Elle
(@jenny)
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! 🙂

ReplyQuote
Posted : 02/11/2009 6:12 am
Becca
(@becca)
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.

ReplyQuote
Posted : 02/11/2009 6:34 am
Methen
(@methen)
Trusted 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.

Understood

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 02/11/2009 6:54 am
Lyndsie
(@lyndsie)
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.

ReplyQuote
Posted : 02/11/2009 8:41 am
Methen
(@methen)
Trusted Member

Thats ok and thank you

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 02/11/2009 5:29 pm
Methen
(@methen)
Trusted Member

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!

ReplyQuote
Topic starter Posted : 05/11/2009 10:34 pm
Elle
 Elle
(@jenny)
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! 🙂

ReplyQuote
Posted : 05/11/2009 10:38 pm
Methen
(@methen)
Trusted Member

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!

ReplyQuote
Topic starter Posted : 05/11/2009 10:57 pm
Elle
 Elle
(@jenny)
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! 🙂

ReplyQuote
Posted : 06/11/2009 12:17 am
Methen
(@methen)
Trusted Member

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!

ReplyQuote
Topic starter Posted : 06/11/2009 1:41 am
Tammy
(@tammy)
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.

ReplyQuote
Posted : 06/11/2009 3:01 am
Methen
(@methen)
Trusted Member

Tammy  you kinda lost me there.

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 06/11/2009 3:18 am
Tammy
(@tammy)
Member Moderator

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

ReplyQuote
Posted : 06/11/2009 3:21 am
Methen
(@methen)
Trusted Member

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!

ReplyQuote
Topic starter Posted : 06/11/2009 4:45 am
Page 3 / 4
Share: