Welcome, Guest. Please Login or Register.
May 13, 2025, 10:52:46 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Add Arrays « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Add Arrays  (Read 508 times)
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Add Arrays
« on: April 14, 2003, 09:37:42 PM »
Reply with quote

I think It would be a nice feature if the admin section had an "add a page" thing, which would just add an array, maybe the option of adding it to the top menu?
Just thought it would be a nice Mod.
Logged

CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:Add Arrays
« Reply #1 on: April 16, 2003, 02:26:49 AM »
Reply with quote

what kind of arrays are you looking to add? for what kind of use?

Just curious.
Logged

CrazyC
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Add Arrays
« Reply #2 on: April 16, 2003, 11:59:58 PM »
Reply with quote

like a new page.
index.php?action=(page name)
Logged

CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:Add Arrays
« Reply #3 on: April 18, 2003, 03:07:55 AM »
Reply with quote

You mean that you want to add another link and button to the menu and the existing menu array?
Logged

CrazyC
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Add Arrays
« Reply #4 on: April 18, 2003, 03:38:54 AM »
Reply with quote

Yes, to expand my yabbse site.
Logged

CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:Add Arrays
« Reply #5 on: April 18, 2003, 02:05:10 PM »
Reply with quote

The PfaBB portal system (which is basically an add on to YaBB, if you're not aware) has a menu preferences area in the Admin center that allows you to add or remove items/links from the menu.

I also just wrote a mod that completely revamped/redesigned all of the menu code and now allows for the item separator's to be changed, add custom separator's anywhere in the menu and the ability to create as many separate menus as you want for your site.  When creating a new menu, you give it a name and then the name is turned into a new yabb tag that can be used anywhere in your template.php file or, in Pfabb's case, in any block on the site.

If you are looking to do stuff like that, you may want to consider using a portal like Pfabb or if there are enough people interested in a feature like this for Yabb, I could probably convert my mod to work with Yabb, but that seems to lean toward portal type options.

Check out Pfabb here: http://pfabb.lunabyte.com
Check out my mod here: http://pfabb.lunabyte.com/index.php?board=8;action=display;threadid=654
« Last Edit: April 18, 2003, 02:08:37 PM by CrazyC » Logged

CrazyC
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Add Arrays
« Reply #6 on: April 18, 2003, 10:01:13 PM »
Reply with quote

Quote from: CrazyC on April 18, 2003, 02:05:10 PM
The PfaBB portal system (which is basically an add on to YaBB, if you're not aware) has a menu preferences area in the Admin center that allows you to add or remove items/links from the menu.

Does it also add an array?
like if I want a links page, It will make an array:
'namehere' => array("$sourcedir/Filehere.php", 'FunctionHere'),
Logged

CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:Add Arrays
« Reply #7 on: April 19, 2003, 02:34:10 AM »
Reply with quote

The menu preferences and my mod only create menus/links.

PfaBB also has a page preferences are in the admin center that allows you to create new pages on your site, then just add the link to the menu.  Create an HTML page (or PHP page) in your favorite editor, then copy and paste the code into the page window using the admin center.  That's it.

It does sound like you are looking for options that are in portal software.  That's what portal software is designed for.  To help ease the main creation and maintenance of a site using templates, menus and option check lists.
Logged

CrazyC
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Add Arrays
« Reply #8 on: April 19, 2003, 02:39:29 AM »
Reply with quote

ok, thanks for your help. for now, I think I will add them manually.. but I may look into PfaBB.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Add Arrays « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 1.446 seconds with 20 queries.