[phpBB 2.0] How to install styles

Tutorials for creation, installation and management of phpBB styles.

Moderator: Moderators

stupid ques

Postby Tigercraze on Mon Oct 03, 2005 9:03 am

How do I replace a current template when I have many mods in them? i feel so stupid as I dunno what to do......
Tigercraze
Registered User
Registered User
 
Posts: 33
Joined: Sun Sep 11, 2005 8:20 am

Postby mwx on Mon Oct 03, 2005 10:58 am

you would probably have to edit the code for that style also,unless there is an easier way
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby Tigercraze on Mon Oct 03, 2005 12:12 pm

[quote user="mwx" post="52400"]you would probably have to edit the code for that style also,unless there is an easier way[/quote]
I know bro but it seems like the hacks are all meant for subsilver and not for the template i have chosen. :(
Tigercraze
Registered User
Registered User
 
Posts: 33
Joined: Sun Sep 11, 2005 8:20 am

Re: stupid ques

Postby UseLess on Mon Oct 03, 2005 1:53 pm

Greetings,

[quote user="Tigercraze" post="52397"]How do I replace a current template when I have many mods in them? i feel so stupid as I dunno what to do......[/quote]

You will need to apply the template changes to the new style templates for the style you want to use, you do have a list of the mods you installed? If you cannot find what your asked to then look for part of the find or if there are template variables in the find then just look for that, a template variable is anything enclosed inside { }
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Re: stupid ques

Postby Tigercraze on Mon Oct 03, 2005 2:18 pm

[quote user="UseLess" post="52405"]Greetings,

[quote user="Tigercraze" post="52397"]How do I replace a current template when I have many mods in them? i feel so stupid as I dunno what to do......[/quote]

You will need to apply the template changes to the new style templates for the style you want to use, you do have a list of the mods you installed? If you cannot find what your asked to then look for part of the find or if there are template variables in the find then just look for that, a template variable is anything enclosed inside { }[/quote]
I guess I have the list. So means I can do changes to the template files in the new template when I change codes for my mods? disregarding the fact the mods are meant for subsilver?
Tigercraze
Registered User
Registered User
 
Posts: 33
Joined: Sun Sep 11, 2005 8:20 am

Postby UseLess on Mon Oct 03, 2005 3:10 pm

Greetings,

Just about every mod ever released is supplied with instructions to apply the mod to subSilver as this is the default style provided with phpBB. A mod author will not know which style or styles your using and therefore due to the number of styles available is hardly likely to provide instructions for every style currently available.

So as previously stated you look for either part of the find or similar code.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby MrBass on Mon Oct 03, 2005 3:12 pm

Mods aren't meant for any particular style. As subSilver is the style that's packaged with phpBB then coders generally provide instructions to apply their mod to this particular style - after all they can't be expected to know what style each person who is going to use their mod is using can they. ;)

So, as UseLess mentioned, when editing your styles tpl files, don't search for the whole string specified in the installation notes, just search for a key part of it.

For example, when you see:
Code: Select all
#
#-----[ FIND ]----------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>


Open the relevant tpl file and search for {U_INDEX} as that will take you to the corresponding line in your template file.

Edit: ...or what he said! :)
MrBass
The heart has reasons that reason cannot know. --Pascal

Pete's Place | Pete's Forum
Latest MOD: File Upload Manager Installation guide coming soon...
User avatar
MrBass
Moderator
Moderator
 
Posts: 711
Joined: Thu Feb 17, 2005 2:06 pm
Location: Pete's Place

Postby Tigercraze on Mon Oct 03, 2005 10:29 pm

[quote user="MrBass" post="52409"]Mods aren't meant for any particular style. As subSilver is the style that's packaged with phpBB then coders generally provide instructions to apply their mod to this particular style - after all they can't be expected to know what style each person who is going to use their mod is using can they. ;)

So, as UseLess mentioned, when editing your styles tpl files, don't search for the whole string specified in the installation notes, just search for a key part of it.

For example, when you see:
Code: Select all
#
#-----[ FIND ]----------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>


Open the relevant tpl file and search for {U_INDEX} as that will take you to the corresponding line in your template file.

Edit: ...or what he said! :)[/quote]
Thanks. Let's say for the above code, how would you edit it for any given template apart from subsilver????
Tigercraze
Registered User
Registered User
 
Posts: 33
Joined: Sun Sep 11, 2005 8:20 am

Postby UseLess on Mon Oct 03, 2005 10:34 pm

Greetings,

Read the last sentence of MrBass' post, where it says search for a key element such as '{U_INDEX}' which is a template variable, again previously stated as being enclosed within {}, as these will appear in any style.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Tigercraze on Tue Oct 04, 2005 10:29 am

[quote user="UseLess" post="52441"]Greetings,

Read the last sentence of MrBass' post, where it says search for a key element such as '{U_INDEX}' which is a template variable, again previously stated as being enclosed within {}, as these will appear in any style.[/quote]
eh how do I know what to change in the template variable??
Tigercraze
Registered User
Registered User
 
Posts: 33
Joined: Sun Sep 11, 2005 8:20 am

Postby Thatbitextra on Tue Oct 04, 2005 11:08 am

You don't. You use them to locate the correct place in the file, as the HTML around it may be different.
My MODs: [NEW] Choose Who to Accept PMs From (Prevents you from receiving unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

Please note, I do NOT offer support via PM. It's a forum, so post your question, then everyone can help.
User avatar
Thatbitextra
Moderator
Moderator
 
Posts: 1821
Joined: Thu Mar 24, 2005 1:11 pm
Location: A place where something is or could be located; a site.

Postby sephirot on Sat Dec 31, 2005 7:23 pm

hello!!
well i wanted to know if there are any tutorials about using ftp
because i dont know how to use this program
can anyone help me?
i wanted to install the aphrodite style foro my forum
:wink:
sephirot
Registered User
Registered User
 
Posts: 2
Joined: Sat Dec 31, 2005 7:20 pm

Postby UseLess on Sat Dec 31, 2005 7:28 pm

Greetings,

If your on a free host, or just not sure, you should read this: viewtopic.php?t=7981

And for FTP tutorials... just do a google... http://www.google.co.uk/search?hl=en&q= ... arch&meta=
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

why just word???

Postby aiyus on Thu Jan 12, 2006 8:33 am

i have install the new style like u teach... the problem now why it happen like the picture? it just a word in my forum.

Image

and where tu put folder rank?
User avatar
aiyus
Registered User
Registered User
 
Posts: 2
Joined: Wed Jan 11, 2006 7:33 am

Style installed but not working

Postby Root on Sun Jan 22, 2006 3:04 pm

Well, i installed all Morpheus styles as is explained in that "how to" (without extreme mod) and everything seem ok except for 1 trouble. When i switch to morpheus style on my user profile i still seeing the old same style. None of morpheus colors installed semms to work. ¿Any idea? I uploaded files with scp instead of with ftp. That's the only difference with the "how to" metod and my method of installing it.
Health
Root
Registered User
Registered User
 
Posts: 4
Joined: Sun Jan 22, 2006 2:00 pm

PreviousNext

Return to phpBB Styles Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron