YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Re: Addon Domains for cPanel (Read 2,515 times)
 Sep 10th, 2012 at 8:24pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,861
Earth


YaBB 2.5
Re: Addon Domains for cPanel
Quote:
Very many thanks folks for all your input, Downloaded 2.5AE on a subdirectory as an add-on domain and so far so good. Uploaded a new forum logo to replace yabblogo. Works fine but need advice on moving the logo to the left of the top banner space and place the text "Welcome, Guest. Please Login or Register" to the right of the page. Your know-how will (as always) be greatly appreciated.


Look in ./Templates/default.html and look for the table cell with
Code Select All
{yabb uname} 


(The cells begin with
Code Select All
<td>  


And end with
Code Select All
</td> 

)

Switch the cell with the yabb uname with the one with the graphic.
But if you want to do any serious customization of the templates, you'll need to learn a bit about HTML.  Wink
« Last Edit: Sep 13th, 2012 at 2:05pm by Dandello »  
WWW  
IP Logged  
 Reply #1 - Sep 10th, 2012 at 9:17pm
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
Thanks Dandello for quick reply,

Quote:
Switch the cell with the yabb uname with the one with the graphic.


Found the cell with the……….. “yabb uname”


Code Select All
<td align="left" valign="middle" height="40">{yabb uname}<br />{yabb im}{yabb admin_alert}</td> 



but could not find any cell with the……..”graphic”  to switch Undecided



 
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #2 - Sep 10th, 2012 at 9:27pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,861
Earth


YaBB 2.5
Re: Addon Domains for cPanel
If it's the standard 2.5 template, the next cell has something like:
Code Select All
		<td align="center" valign="middle" width="460" height="100" rowspan="2"><a href="http://www.yabbforum.com"><img src="{yabb images}/yabblogo.png" alt="YaBB - Yet another Bulletin Board" title="YaBB - Yet another Bulletin Board" border="0" /></a></td>
 



But if you've edited the name of the logo file, it will be different, naturally.
Just grab the line with the yabb uname in it (the whole thing from start of td to end)  and move it to beneath/behind the one with the logo in it.
« Last Edit: Sep 10th, 2012 at 9:28pm by Dandello »  
WWW  
IP Logged  
 Reply #3 - Sep 11th, 2012 at 10:59am
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
Thanks Dandello for detailed explanation. It worked a treat!   Cheesy
It just needs to align a bit to the left margin of the page (it is about 40mm away from edge of page). I guess these spaces need to be deleted??..

Code Select All
		<td align="center" valign="middle" width="460" height="100"................
 



HTML will be my Bible from now on! Wink

 
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #4 - Sep 11th, 2012 at 1:42pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,861
Earth


YaBB 2.5
Re: Addon Domains for cPanel
HTML shows nothing that isn't inside the tags, so the spaces outside the tags mean nothing except to make the source code neater for those who are OCD about code looking neat.

But without actually seeing the page in question, I can't say why something isn't aligning. It could be that the graphic needs to be have positioning added. It may be you need the cell next to it folded into the cell with the logo... And saying that something's misaligned by mm also means nothing as what I see on my screen will be different than what you see on yours and HTML doesn't use mm.

But taking out the 'align="center"' won't hurt.  Wink
« Last Edit: Sep 11th, 2012 at 1:43pm by Dandello »  
WWW  
IP Logged  
 Reply #5 - Sep 12th, 2012 at 4:15pm
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
Very many thanks Dandello,

Quote:
But taking out the 'align="center"' won't hurt. Wink


I took out the 'align="center"' and put the logo tight to the left of the banner section, just where I wanted it.   Cheesy

Just one more question: if I was to create a logo the full width of the forum page, (just as the logo banner of this forum) where the "Welcome, Guest. Please Login or Register" text would go?

I appreciate your support on this issue.

« Last Edit: Sep 12th, 2012 at 4:22pm by Elrick »  
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #6 - Sep 12th, 2012 at 4:31pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Addon Domains for cPanel
Elrick wrote on Sep 12th, 2012 at 4:15pm:
Just one more question: if I was to create a logo the full width of the forum page, (just as the logo banner of this forum) where the "Welcome, Guest. Please Login or Register" text would go?

on here this has a two part head images
http://cyberwebs-wd.co.uk/clients/draft/declanl/forum/yabb2/YaBB.pl
it is really up to what you want and how you want it to look
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #7 - Sep 13th, 2012 at 10:04am
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
xnoddyx wrote on Sep 12th, 2012 at 4:31pm:
Elrick wrote on Sep 12th, 2012 at 4:15pm:
Just one more question: if I was to create a logo the full width of the forum page, (just as the logo banner of this forum) where the "Welcome, Guest. Please Login or Register" text would go?

on here this has a two part head images
http://cyberwebs-wd.co.uk/clients/draft/declanl/forum/yabb2/YaBB.pl
it is really up to what you want and how you want it to look



WOW xnoddyx!!! Shocked   That's a full frontal logo/banner Wink I nearly had to scroll down 45 pages to see the boards!! Cheesy.

So, if the logo/banner pic/jpg takes the full width does the "Welcome, Guest. Please Login or Register" text would wrap itself below the banner?? Huh
 
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #8 - Sep 13th, 2012 at 2:03pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,861
Earth


YaBB 2.5
Re: Addon Domains for cPanel
Actually in this case those logo images are set at backgrounds so the the information (flip-clock and greetings) can be in a floated division on top of them. A similar effect can be done with layering divs using positioning and z-indexes.

Not exactly simple - but with clever html and css you can do a lot. Which is why you're not going to find easy how-to-do-it answers.
 
WWW  
IP Logged  
 Reply #9 - Sep 13th, 2012 at 3:54pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Addon Domains for cPanel
Elrick wrote on Sep 13th, 2012 at 10:04am:
WOW xnoddyx!!!    That's a full frontal logo/banner  I nearly had to scroll down 45 pages to see the boards!! .So, if the logo/banner pic/jpg takes the full width does the "Welcome, Guest. Please Login or Register" text would wrap itself below the banner??  


as

Dandello wrote on Sep 13th, 2012 at 2:03pm:
Actually in this case those logo images are set at backgrounds so the the information (flip-clock and greetings) can be in a floated division on top of them. A similar effect can be done with layering divs using positioning and z-indexes.

Not exactly simple - but with clever html and css you can do a lot. Which is why you're not going to find easy how-to-do-it answers.


if you want i can show you the code for that and you can go and give it a test and work it to your needs.
or
you can give me some more info on what you need and what it is for and i will see what i can do for you

but your best option it to give it a go your self on a test Template  Wink
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #10 - Sep 14th, 2012 at 4:39pm
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
Hi xnoddyx

Quote:
if you want i can show you the code for that and you can go and give it a test and work it to your needs.
or
you can give me some more info on what you need and what it is for and i will see what i can do for you

but your best option it to give it a go your self on a test Template


That would be great xnoddyx. Basically just want the logo/banner to extend the width of the forum page as on this forum and put the "Welcome guest" somewere below or using the banner as background.

Many thanks

« Last Edit: Sep 14th, 2012 at 5:13pm by Elrick »  
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #11 - Sep 15th, 2012 at 3:59pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Addon Domains for cPanel
Elrick wrote on Sep 14th, 2012 at 4:39pm:
That would be great xnoddyx. Basically just want the logo/banner to extend the width of the forum page as on this forum and put the "Welcome guest" somewere below or using the banner as background.Many thanks

do you have the default 2.5AE template on your forum?
Edited:
in default.css find
Code Select All
#maincontainer{
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	border-top: 0px;
	margin-bottom: 10px;
} 



and replace with
Code Select All
#maincontainer{
	width: 1024px;
	padding-top: 329px;
	margin: 0 auto;
	background-image: url(./default/logo-banner.jpg);
	background-repeat: no-repeat;
	text-align: left;
}
 



make the logo-banner.jpg or logo-banner.png 1024x329
if you change the height of the image also edit the padding-top: 329px; height.  Wink hope this helps
« Last Edit: Sep 15th, 2012 at 4:34pm by xnoddyx »  
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #12 - Sep 16th, 2012 at 11:26am
There are no actions to perform.  

Elrick 
YaBB Moderators
Beta Testers
***
Offline
Posts: 148
Edge of the Abyss


YaBB 2.5
Re: Addon Domains for cPanel
Excellent info xnoddyx Wink I will play with it. I think I get the drift of the process!!.
Very many thanks for you time to neatly outlay the info.
I have affection for YaBB but I love this forum. Cheesy

 
~ Elrick ~
There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter.
 
IP Logged  
 Reply #13 - Sep 16th, 2012 at 12:07pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Addon Domains for cPanel
Elrick wrote on Sep 16th, 2012 at 11:26am:
Excellent info xnoddyx Wink I will play with it. I think I get the drift of the process!!.
Very many thanks for you time to neatly outlay the info.
I have affection for YaBB but I love this forum. Cheesy


it's cool and will get you looking like this forum if you need more i will see what i can do for you  Wink
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.