can i set my forum up like this??

Started by unoit, April 09, 2013, 01:23:13 AM

Previous topic - Next topic

unoit

http://lunaticoutpost.com/

want to set my forum up a like the above.that one is not a smf forum.
Just seeing if i could do the same with smf forum.

Thank you

shadow82x

Ummm what specifically are you wanting?
Colin B
Former Spammer, Customize, & Support Team Member

TheListener

I believe it is something to do with the layout.

unoit do you have a forum with smf still?

I notice you have asked similar types of questions before yet none of the links in your posts have been smf forums.


unoit

Want to look like the one i posted.
I want the first page you goto to be just all new topics.

TheListener

The best way to do this is by using a portal mod IMO.

unoit

Yeah asked a while ago.
Yeah have a smf forum.
So using a portal would do it.
Now what portal and what setting??
I played around with my forum, using portmx, tried different stuff nothing really gets its like the one i posted.


unoit

Theres nothing on there at the moment.
This is a new forum im making.

unoit

#8
Ok i have found what i have to do.will this work on this type of forum.

DirectoryIndex /viewforum.php?f=X /index.php

Where X = the forumID of the forum you want to show on frontpage. Jhikpghf

now i have no idea what to next.
Any helpers.
Cheers.

This is how i want it to look like when u first go to my site.
http://www.simplemachines.org/community/index.php?board=147.0

Kindred

ummm... unoit, you seem to be babbling.

1- when asking for help, you can not just point to a link and say "like that"
you must clearly and fully explain what "that" is and what you want to ACTAULLY do.

2- To get help with whatever portal mod you hqave chosen, please ask for help in the support topic for that specific mod.

3- viewforum.php is not part of SMF. SMF does not use that...    so, once again, you need to be more clear in your explanation. (and no...   you should not use directory index like that anyway). And no... SMF does not work that way...  there is no good way to do that and mo existing mod that I know of that will start your users off inside a board.
index.php loads boardindex.   index.php?board=### loads messageindex, but the landing page is the board index (the list of boards, not a list of messages)
With a portal, you have the option to add a landing page in front of the boardindex...  but that landing page is a built/defined page, not the messageindex.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

unoit


MrPhil

Quote from: unoit on April 10, 2013, 08:31:14 AM
Ok i have found what i have to do.will this work on this type of forum.

DirectoryIndex /viewforum.php?f=X /index.php

Where X = the forumID of the forum you want to show on frontpage. Jhikpghf
As mentioned before, that's an abuse of the DirectoryIndex command. At best, it would apply only to someone entering your bare site without a URI given (just http://www.yourdomain.com/). If you want to send someone who came in on a bare site, to a specific URI, that can better be done with a URL rewrite in .htaccess (or the equivalent function on an IIS server).

As for your original request to have a site that looks "like that", I'm sure that with some combination of a portal and a theme you could get close to that page.

unoit


Kindred

Quote from: Kindred on April 10, 2013, 09:06:25 AM
ummm... unoit, you seem to be babbling.

1- when asking for help, you can not just point to a link and say "like that"
you must clearly and fully explain what "that" is and what you want to ACTAULLY do.

2- To get help with whatever portal mod you have chosen, please ask for help in the support topic for that specific mod.

3- viewforum.php is not part of SMF. SMF does not use that...    so, once again, you need to be more clear in your explanation. (and no...   you should not use directory index like that anyway). And no... SMF does not work that way...  there is no good way to do that and mo existing mod that I know of that will start your users off inside a board.
index.php loads boardindex.   index.php?board=### loads messageindex, but the landing page is the board index (the list of boards, not a list of messages)
With a portal, you have the option to add a landing page in front of the boardindex...  but that landing page is a built/defined page, not the messageindex.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

unoit

Ok guys ive just a started a new forum.
Now i want my forum to be a bit different to the norm. :o
i will only be having 1 forum so every new topic will be started in that 1 & only forum.
What i want to do is set up my site so when you veiw it you will only see all the topics, when you come to my site.
I believe i have to change some coding in
htaccess to achive this.
I know nothing about coding, so some simple answers would be good. :-[

thank you.

MrPhil

Quote from: unoit on April 17, 2013, 06:00:14 PM
Ok how do i rewrite the htaccess?? :-X

What kind of URLs are coming in (what visitors type in, or other links), and what do they need to be mapped to? If you have an SEO mod installed (they don't do that much good), we can leave its revised links alone, although any changes need to be made ahead of the .htaccess code that's handling the SEO.

Something like: visitor types in http://www.mysite.com, and I want them to end up in http://www.mysite.com/forum/index.php?topic=1.0.

MrPhil

Please use standard SMF terminology. There is only one forum (the whole thing). It has one or more categories. Each category has one or more boards. Each board has one or more topics. What are you looking for?

unoit


mashby

Can I ask why? What is the purpose of your forum/site?
Always be a little kinder than necessary.
- James M. Barrie

unoit

Another eg.

Here is normal forum when you first goto it.
http://www.simplemachines.org/community/index.php

when you goto my forum i want to cut out the above & go straight here.
http://www.simplemachines.org/community/index.php?board=147.0


mashby

Always be a little kinder than necessary.
- James M. Barrie

unoit

Its going to be news like forum where a lot of new topics will be started.

mashby

So, you're going to not have any categorization at all?

I like a news site with some sort of organization:
National
World
Sports
Life
Death

Plus, the main index includes things like who's online, number of members/topics/posts. I think you're likely heading down a rabbit hole that you might not really want to venture down.
Always be a little kinder than necessary.
- James M. Barrie

unoit


Kindred

Please do not start a new topic when you already have a topic about the exact same thing.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mashby

I'm still not sure why you want such a thing. It doesn't seem to make any sense to me. What kind of news/board needs NO categorization at all?!?
Always be a little kinder than necessary.
- James M. Barrie

unoit

Haha your 2 much.
Anyone know how to help with this.
Pitty you dont help with peoples problems then worrying about if they started 2 post or not.

Kindred

Pity you can't be bothered to follow the rules or answer questions that you are asked...
You are trying to do something which the forum is not intended to do... As a matter of fact, it directly contravenes the design.

Mash by,
I think he has some notion in his head about how "it must be" without actually thinking through the actual presentation or results.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mashby

Good luck with your future endeavours. I'm actually trying to help you by talking through the mistake I think you're making. Good day, sir.
Always be a little kinder than necessary.
- James M. Barrie

TheListener

unoit we are only here to help people.

Your attitude won't get you very far. As for two posts regarding the same issue. Do you like wasting peoples time when we could easily be helping a user whom really needs it?

To do most of what you want you only need one Category with the remainder being boards.

As for doing away with the header that can be done via the index.template file ( I believe).

Arantor

I find it hilarious that his example DOES HAVE categorisation as http://lunaticoutpost.com/index.php proves.

unoit

Haha this is great. ;D
Seems like everyone has an answer now.


mashby

What's great about this situation? Not much really. You seem rather insistent on doing something contrary to the purpose of the software. We're trying to guide you against what you think you want.

Can you provide one answer to one question first? Why do you want this setup so much?
Always be a little kinder than necessary.
- James M. Barrie

xrunner

Quote from: unoit on April 17, 2013, 07:44:56 PM
Haha this is great. ;D
Seems like everyone has an answer now.

Oh, I don't have one.

Arantor

Oh, there are answers. I have even made the mess out of SMF that you seem to want to make and the number of problems it causes, because it's just not designed to work that way, is non-trivial.

If you look *real* hard you might even find where I discussed how it could be done, since I did document the guts of it some time ago.

Just because you want something does not mean you are entitled to it, nor does it mean that anyone here is required to give you what you want - especially if it contravenes how the software is designed to function in the first place.

I find it even more hilarious that with a portal and a little work you could get an even more effective presence of news from boards on the front page (and maintain categorisation which is useful for finding related topics, because real people do actually do that, funnily enough)

Just because one other site does it does not make it a good plan.

unoit

I have tried a couple of different portals but cant get them to work the way i want it to work.
Ok what about if i was using a portal & it was showing a list of recent topics.thats fine.but if a member needs to start a new topic, they have to go back to the forum to do that.is there anyway to add a start a new topic,some where on the portal page?
:)



kat

unoit...

If I wanted a car that can go at 150 mph, I'd get an F1 McLaren.

I wouldn't get a Ford Focus and ask Ford how to make it go at 150 mph.

SMF can't do what you want. So, as has been suggested, maybe you ought to look for something different?

MrPhil

Quote from: unoit on April 17, 2013, 07:04:03 PM
when you goto my forum i want to cut out the above & go straight here.
http://www.simplemachines.org/community/index.php?board=147.0

You can set up your forum so that a visitor to the domain gets jumped right into a specific board (regardless of whether there are multiple categories and multiple boards). This is in /.htaccess, and works only on Apache servers. For just the domain given in the URL:

RewriteEngine On
RewriteCond  %{REQUEST_URI}  ^(/)?$
RewriteRule  .  /forum/index.php?board=5.0 [L]


Or, only if they explicitly visit the forum directory:

RewriteEngine On
RewriteCond  %{REQUEST_URI}  ^/forum(/)?$   [NC]
RewriteRule  .  /forum/index.php?board=5.0 [L]

Kindred

that may have uninstended side effects on maneuvers around the rets of the site, though....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

I'm not sure I'd make that a soft redirect. I have the nasty feeling that's going to mess certain things up if done like that. In particular logging in is likely to be affected.

And navigation as Kindred said.

MrPhil

Could you explain your concerns about problems this may cause? If this could really cause a problem, I'd like to know why, so I don't give bad advice again (seriously).

The first example should kick in only if the visitor gives the domain name and optionally a /. Anything giving a URI (beyond /) shouldn't be affected.

The second example should kick in only if the visitor gives the domain name and the directory path, optionally ending in a /. Anything beyond that shouldn't be affected.

Arantor

QuoteCould you explain your concerns about problems this may cause? If this could really cause a problem, I'd like to know why, so I don't give bad advice again (seriously).

The big deal is that there are places where the referring URL is actually important.

There certainly used to be - and I assume still are - certain places where referring URLs are checked, and there are places where REQUEST_URI is validated against what's found in $_GET. From an authorisation point of view, it's one facet of validating against clickjacking and/or session hijacking.

Doing a hard redirect would ensure that the right values are always passed where they should be.

I'll let Kindred tackle the navigation issues.


That, and the fact that dumping someone into a board is actually bad user experience (anyone who's ever seen Vanilla or Discourse will likely understand what's wrong with it), and in all likelihood a portal will actually be a better experience for a landing page.

Chalky

Have none of the themers thought of doing a naira-type premium theme?  Looks like someone could rack up a fortune...  ;)

Advertisement: