PDA

View Full Version : Threads on first page / Search on other page ++


Oystein
08-29-2002, 11:30 AM
I have several requests / needs:

1. Does anyone have a hack to show all posts on first page, instead of having to enter a forum/category. The board will only have one category/forum, and therefor we don't want more clicks than needed.

2. The website is on a different server than the board, and the owner wants a search-box on the website.. Of couse I can make it a link to the search-page on the board, but a hack on "external" search would be interesting.

3. How to skip the "agreement-screen" on registration?

4. Logging in from the website. They want a login-box there.. I know it's a common need, so I basically need a link to the thread/file etc...

All ideas, links and suggestions are highly appreciated.
Either as a reply here, or email me directly.

Best regards
?ystein Sanne
www.nrk.no

Oystein
09-02-2002, 07:20 AM
Seriously?? NO replies?

I can't belive that NOONE has a hint or some kind of help for me on at least one of these problems.

Logician
09-02-2002, 11:05 AM
2. The website is on a different server than the board, and the owner wants a search-box on the website.. Of couse I can make it a link to the search-page on the board, but a hack on "external" search would be interesting.
4. Logging in from the website. They want a login-box there.. I know it's a common need, so I basically need a link to the thread/file etc...
It's plain HTML. View Source of web page you want to mimic (eg. search page or login page) then copy paste the <form....> </form> part to your new page. You may need to edit the URL of form target file if you are moving the page to an external server. eg. if it's "search.php" change it to "http://www.url.com/board/search.php" etc..


3. How to skip the "agreement-screen" on registration? Different methods:
1- Add "&who=adult" right after register link.
2- Edit the template "signupverify" and paste the content of signupadult here.
3- Hacking the register.php to skip this step will also work..

1. Does anyone have a hack to show all posts on first page, instead of having to enter a forum/category. The board will only have one category/forum, and therefor we don't want more clicks than needed.
1- Edit all templates so that your board's main page's URL (index.php) will be replaced by "forumdisplay?forumid=X"

2- make a small .htaccess trick and forward all yourboard/index.php calls to forumdisplay?forumid=X