T O P I C R E V I E W |
Astralis |
Posted - 03 September 2005 : 05:50:50 I've been thinking about using Snitz as an article comment (not content) system. I want the comments to display below the article like the blogs do without using frames or an IFRAME.
Some of the issues: reworking topic.asp into a new page to display on the page, eliminating the header and footer on these pages, adding a redirect to post.asp if people post from the article page so that it takes them back to the article when they're finished.
These actually seems fairly simple that I suspect someone has already done this. Is there a mod, or has someone worked on it and could share some code/advice?
Or, if you don't think this is a good idea, do you have an alternative?
Thanks!< |
15 L A T E S T R E P L I E S (Newest First) |
Helterskelter |
Posted - 13 September 2005 : 10:57:25 ok I simply fixed the problem by moving the command to after topic.asp calles the data.
Thanks for the help and idea.
Helter< |
Helterskelter |
Posted - 11 September 2005 : 07:23:51 ok, i did not ask it get FORUM_ID......
I was thinking that as it was doing something when the forum_id was 35 the data was being called somewhere befor saving me the effort of doing my self.
< |
MarcelG |
Posted - 09 September 2005 : 04:07:54 Helter ; that's exaclty why I said that it should be a = instead of <> In normal words (not code) if the forum_id of the topic is the same as the articles forum, redirect to article.asp.
But, where do you get FORUM_ID from as a variable ?< |
Helterskelter |
Posted - 08 September 2005 : 19:25:08 I have tried the = but would not work, but it work's fine with the <>.
I though that at first and originaly had done so.
What i was trying to do is redirect all topics in forum 35 (my article forum) to article.asp but it looks to be redirecting all posting's to article and from there it's sending tham back to sitenews......
Thanks for the time already in helping me with this.
Helter< |
MarcelG |
Posted - 08 September 2005 : 06:37:09 Erm, sorry, but I don't really get it. If the article forum is FORUM_ID 35, your code should look something like this:
if FORUM_ID = "35" then
Response.Redirect "article.asp?art="& TOPIC_ID
Response.End
end if Now you are redirecting ALL topics to article.asp, but article.asp redirects topics NOT from forum_id 35 to sitenews.asp....< |
Helterskelter |
Posted - 08 September 2005 : 05:39:04 ok just quick
I added thind to topic.asp befor the includes
if FORUM_ID <> "35" then
Response.Redirect "article.asp?art="& TOPIC_ID Response.End end if
This worked perfectly in the article section But the rest of the topics in the other forums was redirected to sitenews.asp (SHN forum)
Any idea's?
Helter< |
Helterskelter |
Posted - 08 September 2005 : 05:04:39 Ok. I'll have a look at adding some code to topic.asp so it redirects all topic's in article forum to article.asp
I like leaving the article froum open to allow all people to have easy access. Thanks for allowing us to view the code, it's quite simple and a good way of displying it.
Helter< |
MarcelG |
Posted - 08 September 2005 : 03:43:59 quote: Originally posted by Helterskelter
Thanks I'be been looking for something like this.
I'ge got a version running now at my site but how do u access it.
I'm thinking if adding a responce.redirect linking to article.asp if forum_id="xx" in topic.asp but just wandering hw u do this marcelgoertz
Helter
Helter ; the article.asp topics aren't directly accessible through the forum navigation, unless you are an admin. I'm using a specific articles forum for that, which is set to 'Allowed Members List - Hidden'. To use articles I just link them in the navigationmenu on the top, by manually editing inc_header.asp. So, not very high-tech, I know.
quote: Originally posted by Astralis
Marcel, Where do you define this: strNewsForum and strOtherNewsForum?
Oh, that's from the Sidebar Mod. The strNewsForum is used for the main frontpage forum. The strOtherNewsforum is used specifically at oxle to change between oxle.nl (dutch) and oxle.com (english). They've got different frontpages, so that's why. This is done at the end of config.asp in oxledotnl.asp. You can use the mod I linked, or you could also define the variables manually in config.asp. There aren't that many to set. Just have a peek at oxledotnl.asp ; for the dutch site I've defined them all manually. The admin-page is used only for the english part.< |
Astralis |
Posted - 07 September 2005 : 22:20:55 Marcel,
Where do you define this: strNewsForum and strOtherNewsForum?
< |
Helterskelter |
Posted - 06 September 2005 : 17:46:37 Thanks I'be been looking for something like this.
I'ge got a version running now at my site but how do u access it.
I'm thinking if adding a responce.redirect linking to article.asp if forum_id="xx" in topic.asp but just wandering hw u do this marcelgoertz
Helter< |
AnonJr |
Posted - 05 September 2005 : 06:16:52 I like that source viewer. If you wanted to take it a step further, read this article. It includes a class you can use to color code your soruce.< |
MarcelG |
Posted - 05 September 2005 : 04:48:33 Oh, sorry ; you have to be logged in to the site. You can use demo/demo if you do not wish to register.< |
Astralis |
Posted - 05 September 2005 : 03:22:20 Source.asp is redirecting to forums.asp< |
MarcelG |
Posted - 05 September 2005 : 03:18:42 quote: Originally posted by Astralis
Marcel,
Where is your page that displays your code?
http://www.oxle.com/source.asp ; enjoy.< |
Astralis |
Posted - 04 September 2005 : 22:17:58 Marcel,
Where is your page that displays your code?< |