News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Archive

Started by SMFHacks.com Team, August 08, 2006, 08:01:32 PM

Previous topic - Next topic

MarkoWeb

#20
Quote from: vbgamer45 on December 11, 2006, 07:57:12 PM
Well then u need to change it to
require_once('../forum/Settings.php');

When I go to the page http://forum.***.org/archive.php?board=69.0
the page works fine.
But i click on the some adress link is
http://forum.***.org/archive.php?board=48.0
http://forum.***.org/archive.php?board=69.0
...
...
...

How can I made to be like this:
http://archive.***.org/archive.php?board=69.0

vbgamer45

Quote from: Marko_ on December 12, 2006, 10:01:52 AM
Quote from: vbgamer45 on December 11, 2006, 07:57:12 PM
Well then u need to change it to
require_once('../forum/Settings.php');

When I go to the page http://forum.kupus.org/archive.php?board=69.0
the page works fine.
But i click on the some adress link is
http://forum.***.org/archive.php?board=48.0
http://forum.***.org/archive.php?board=69.0
...
...
...

How can I made to be like this:
http://archive.***.org/archive.php?board=69.0
That's a little tricky to do then. You would need to change all the links in the script to point to http://archive.***.org/archive.php?board=69.0 currently it picks up the forum link from the forum itself.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MarkoWeb

What I need to change?

vbgamer45

Anything that contains

<a href="' . $boardurl . '/archive.php?

You would change it to the url that you want to use.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


clemenzo

#25
Quote from: clemenzo on December 12, 2006, 09:29:40 AM
I installed successfully into my fresh SMF 1.1 final but encounter 'Internal Server Error' when I try to access the archive.php file..

My forum directory is in forum and both Settings.php and archive.php are in forum directory root. What's wrong?

My web server error log shows:
Premature end of script headers: /home/smf/public_html/forum/archive.php

Thank you!

Hi vbgamer45,

I hope you didn't miss my question.. :)

Thanks!

vbgamer45

Hmm try to add in Archive.php
Find

define('SMF', '1');

Add before

header('Content-Type: text/html');


And see if that helps
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

clemenzo


vbgamer45

This is one of the hardest errors to figure out.
Try to chmod the archive.php file to 755


http://www.google.com/search?hl=en&lr=&q=Premature+end+of+script+headers++php&btnG=Search
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

clemenzo

Viola! That fixed it! Thanks vbgamer45!

I tried removing the header('Content-Type: text/html'); and it still works!

vbgamer45

What fixed it? I want to know heh did you do the permission thing?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

clemenzo



Roph

#33
Hmm, I've installed this on my 1.1.1 forum and it's working ok, though in every post there's an error before the actual post.

Have a look for yourself: http://rmrk.net/archive.php

Any idea? my mods are:

Mod Name     Version     
1.    YouTube BBCode
2.    Spoiler Tag
3.    SMF 1.1.1 Update Package
4.    SMF Archive
6.    Profile Comments
7.    Signature Settings Mod

Though I'm not sure if any of these have anything to do with it.

vbgamer45

Hmm, I will update it in a bit for 1.1.1
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

ChaosEnergy

#35
German Umlauts are broken...board runs in utf-8, but archive makes it iso

I get an error:

Notice: Undefined index: server in /var/www/forum/Sources/Subs.php on line 1770
Notice: Undefined index: server in /var/www/forum/Sources/Subs.php on line 2496

see http://chaosempire.info/forum/archive.php?topic=13788.0
this thread contains pictures...scroll down

the ACTion commands for memberlist and so on..are not complete act instead of action
Chaos Empire ®


Skunkie

I just wanted to say thanks vbgamer45, for the wonderful archive mod.  Works great on my installation.  Best regards!
Punk Labs - https://punklabs.com

Isaac

Hmm, would it be possible to restrict Spiders only to the archive version?

Skunkie

Isaac, you would need to create/modify your robots.txt located in your forums' root.  You can actually find quite a few dicussions here on the SMF board about good ways to create one.
Punk Labs - https://punklabs.com

Advertisement: