News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Page with Tab for 2.0 RC1.2 - RC2

Started by ɔɔɔɔɔɔuɥoɾ, October 18, 2009, 05:52:21 PM

Previous topic - Next topic

Mihkel

Okay, can you lead me to the right spot because if I am editing the file manually, my PHP script goes top of the forum....

ɔɔɔɔɔɔuɥoɾ

Ok, I dont have the mod open right now, so paste the code from the template for that

themes/default/mytab.template.php


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Mihkel

Hah yep, I got it :P Thanks :)
First i thought that i have to modify the mytab.php file :P

Thanks for the great mod :)

ɔɔɔɔɔɔuɥoɾ

Quote from: Mihkel on August 03, 2010, 03:54:00 PM
Hah yep, I got it :P Thanks :)
First i thought that i have to modify the mytab.php file :P

Thanks for the great mod :)

Nah, never in Source files, always edit the templates ;)

You may want to use my 2 page 2 tabs mod, it allows 2 pages if desired., click the link "my mods" in my signature to see my mods


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Mihkel


DasVON

Question: I have upgraded from RC2 to RC3 but now I cannot see the admin section (see middle pic)

Custom Page with Tab for 2.0 RC1.2
http://custom.simplemachines.org/mods/index.php?action-download;mod=2209;id=119488;image

any idea's where or what to edit so I can see this ?


ɔɔɔɔɔɔuɥoɾ

That would be in ManageSettings.php from sources directory.

I would recommend upgrading to the two page mod
http://custom.simplemachines.org/mods/index.php?mod=2604
It lets you have 2 pages, you don't have to use 2 though.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Jack_the_ripper


byproduct

Say I want/need SEVERAL pages.

Can this mod be installed.
Then renamed, and installed again, and so on....
till I get the amount of pages I desire?

Or is there something inside the mod, that prevents this?


ɔɔɔɔɔɔuɥoɾ

If you duplicate the code, but add differences to vars for each, then you can simply manually upgrade the mod.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

simon36


TheListener

Quote from: simon36 on March 29, 2012, 03:23:01 PM
Sadly not working with 2.0.2

How am I using the mod on 2.0.2?

Use the Mod Emulate link in my signature.

ninja111

#112
Can someone help me with instillation of this mod?

I have done everything the 2.0.4 instillation instructions said to do but i get this error message:

QuoteFatal error: require_once() [function.require]: Failed opening required '/home/ninjaesc/public_html/Sources/mytab.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ninjaesc/public_html/index.php on line 388

I checked line 388 and it is:

require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);

The error message only pops up when i put a word after; Choose the "?action= URL:.
Other then that it doesn't even work. Nothing even shows up, and i made sure 20 times that i didn't overlook any permissions.
Please help me on this because i really want a extra page.

Thanks,
Ninja111

I believe i figured out the culprit of the error, i don't have mytab.php will someone please send me that file.

Error solved.. Please make these "Move the included file "mytab.php" to "./Sources".
Move the included file "mytab.template.php" to "./Themes/default", operations more noticeable for others. i had to squint my eyes.

Advertisement: