FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Front Page News Question

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> Tech Corner
View previous topic :: View next topic  
Author Message
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Tue Mar 21, 2006 9:59 am    Post subject: Front Page News Question Reply with quote

Well i didnt know where this would go, so i put it in Tech Corner.

I just started a website with a few friends and i have a phpBB2 question for you guys.

I want a mod like you guys have that displays all threads posted in front page news to come up on the homepage. That way all the admins and moderators for that forum could post front page news and i wouldnt have to ftp out the index and go through all that code to change it.

I also have a question about how you guys have the current topics list on the frontpage. Thats pretty nifty stuff and i cant figure out how to do it.

And finally, last but not least. How the heck do you modify the damned templates/styles. I cant figure it out for the life of me.

Thanks guys and sorry i havent been around much but this website has been taking up all my time. Ill also give you guys a link for the site once i get it going live.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Hamese
Server Admin
Server Admin


Joined: 04 Sep 2001
Location: Houston, TX Guild: US-V
Posts: 1404

PostPosted: Wed Mar 22, 2006 9:40 am    Post subject: Reply with quote

Here is the portal similar, if not the same as, the one the ville uses.

http://smartor.is-root.com/

You download it, rewrite some code and you can get it to work. It walks you through everything, and I set it up once and do not remember it being that difficult. I believe it will help get the view recent topics portion going, and also it will aid you in setting up a front page news type of catagory that will have its threads appear on the front page.
_________________
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Wed Mar 22, 2006 6:32 pm    Post subject: Reply with quote

Wow that rocks hamese. Thanks alot. Im just having alot of problems with my website. Its definitely alot of work but seems that the payoff will be worth it.

I will definitely check that site out for sure.

Also one more question kind of concerning tables and stuff in HTML. I cant seem to get my tables and stuff to stay where i want them. Im using CoffeCup and it only lets me align them left right and center. Is there anyway i can get a table to go anywhere on the screen that i feel like?

With my limited HTML knowledge i kind of have to stick with an editor at the moment.

Thanks again hamese, greatly appreciated. The site should be up soon so you guys can check it out. Ill link it when it goes live.


*EDIT* just got done browsing that site and im not sure what mod to download. any info?

*DOUBLE EDIT OF DOOM* ok downloaded the portal, and am getting ready to install it. One more quick question. How do i get the toolbar to carry over onto the main forums page.

*TRIPLE EDIT OF TERROR* got it installed, but i have no clue what to do now, the instructions werent easy to follow and now it is telling me to do one of these

Quote:
'Do it yourself' instructions need to be executed by you manually, EasyMOD can not perform these actions

* HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
* You can use one of the following methods! Lots of luck!
* o Method 1: (for Apache server)
* create/modify file .htaccess in phpBB root directory
* add/edit this line:
* DirectoryIndex index.html index.htm portal.php index.php
* o Method 2: {use META tag - if you cannot apply the 1st method)
* create file index.html in phpBB root directory (without #)
* <html>
* <head>
* <title>Redirecting...</title>
* <meta http-equiv="refresh" content="0;url=portal.php">
* </head>
* <body>
* </body>
* </html>
* if your phpBB was placed in a subdirectory to the
* webroot, like: http://something.com/forum
* you could create index.html in the webroot and modify the
* line 4 to <meta http-equiv="refresh" content="0;url=forum/portal.php">
* o Method 3: I think maybe you can find out method 3 yourself like JavaScript, etc.
* //
* // Set configuration for ezPortal
* //
* // Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
* $CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';
* // Number of news on portal
* $CFG['number_of_news'] = '5';
* // Length of news
* $CFG['news_length'] = '200';
* // News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
* $CFG['news_forum'] = '1';
* // Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
* $CFG['poll_forum'] = '1';
* //
* // END configuration
* // --------------------------------------------------------




Eh, im not sure how to edit any of these files, where they are at, and how do i get it to work.... yeah im a newb with phpBB and HTML and Javascript....
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Thu Mar 23, 2006 1:43 am    Post subject: Reply with quote

Ok, decided to make a new post for this one

Got the portal thing installed and everything, got it modified. last thing i need to do is edit the styles.


anyone know an easy way to do this?

oh btw you can check my progress at

www.comitatusguild.com
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Hamese
Server Admin
Server Admin


Joined: 04 Sep 2001
Location: Houston, TX Guild: US-V
Posts: 1404

PostPosted: Thu Mar 23, 2006 8:24 am    Post subject: Reply with quote

On the smartor site I believe there is a section for changing the styles. It was a few years ago, so I do not remember off the top of my head, but you will just need to edit some php pages. I bet you can find.

As for the tables that you want to put anywhere on the site, you need to look at the functionality of a division, or <DIV></DIV> as the tags. This will let you place a box anwhere on the page, and you can even have them overlap. When used with a css style sheet they can be really easy to work with. There are a some drawback, but aren't there with anything?

[Edit]
I didn't find a section on styles, but this forum, if you haven't found it, might help.

http://smartor.is-root.com/viewforum.php?f=15
_________________
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Thu Mar 23, 2006 4:08 pm    Post subject: Reply with quote

I see that, im actually getting kinda handy with php code.

What do i use to edit .css stylesheets?
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
v.o.c
Registered User


Joined: 12 Jan 2005
Location: England (UK) Guild: TVR Chapter:)[sI](
Posts: 241

PostPosted: Thu Mar 23, 2006 5:37 pm    Post subject: Reply with quote

dont know if youve been here, http://www.w3schools.com/ but my nephew uses it on occasion,for bits n bobs. he says its good for the basics and he builds website for a living
_________________
Wouldn't You Like To Be A Vicious Orange Carrot Too?


www.3foottall.com
Back to top
View user's profile Send private message Visit poster's website
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Thu Mar 23, 2006 5:45 pm    Post subject: Reply with quote

ill be sure to check it out v.o.c.

i have a style im currently editing, the problem is now that im not sure how to get the portal thing to work with the new style.

eh, pain in the butt.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Hamese
Server Admin
Server Admin


Joined: 04 Sep 2001
Location: Houston, TX Guild: US-V
Posts: 1404

PostPosted: Thu Mar 23, 2006 6:04 pm    Post subject: Reply with quote

JacktheHomeless wrote:
What do i use to edit .css stylesheets?


Easiest is Notepad
_________________
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Fri Mar 24, 2006 5:52 am    Post subject: Reply with quote

really?

hooray for notepad


i got a new style and stuff installed so all i need to do is some fine tuning.

should be almost done though.

thanks alot for the help hamese
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Hamese
Server Admin
Server Admin


Joined: 04 Sep 2001
Location: Houston, TX Guild: US-V
Posts: 1404

PostPosted: Fri Mar 24, 2006 10:11 am    Post subject: Reply with quote

Np, the site looks way different this morning than it did yesterday. Nice job.
_________________
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Fri Mar 24, 2006 4:39 pm    Post subject: Reply with quote

working on it hamese.

actually, ive been working on it pretty much constantly for the past...... 4 days off and on.


its a pain, but its actually somewhat rewarding.

i can say for sure it will feel real good when i get finished.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
JtH
Registered User


Joined: 12 Jan 2002
Location: Pittsburgh PA
Posts: 1854

PostPosted: Fri Mar 24, 2006 5:40 pm    Post subject: Reply with quote

Hamese, last question for you i swear.

i need a menu bar similar to what the ville has here. Most of the ones i found are lacking and a pain in the butt to add or remove links.

is the one here at the ville ACP modifiable?

i have that ezportal thing installed, im just gonne put a few more portals throughout the site. one for scheduled events etc and i kinda need a toolbar going across everything so i may add and remove pages easily without having to modify the actual code.

just curious that if this one is ACP modifiable then where'd ya get it.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> Tech Corner All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group