Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Portal Mod 1.1
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 9

Radianation
Junior Member

USA
186 Posts

Posted - 27 April 2004 :  04:27:33  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message  Reply with Quote
I have a request similar to glinted's, but slightly different and more complex.

I want to specify a topic as a news item for the center content of portal.asp. I would like to be able to specify how many "featured" topics in the cms config. The featured topics are listed by their date up to the max number specified. Each featured topic is also assigned to an actual forum category.

For example, a generic forum category called "news items" could be setup with only moderators having the ability to start new threads. Then the moderators could specify this topic as featured. It shows up on portal.asp. Users can reply to the featured article and carry on a discussion which shows up on the portal.asp as "read comments" or something. Then it takes you to the topic.asp=XXXXX where they can view and reply as normal.

Now, having a special news category is only a suggestion. In theory, a moderator could specify ANY post in ANY category to be a featured post. A user contributed topic might be featured if it's a good one... Thus allowing moderators to not only write their own, but also showcase other users writings.

Is this possible? Anybody willing to assist in making this happen? Thanks for listening to my idea / reading.<
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 27 April 2004 :  04:30:39  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message  Reply with Quote
cont... I think all that needs to be done is add a field for 1/0 (1 = featured) to the forum_topics table. Then have some type of an interface similar to make topic sticky. After that, it's simply a SQL call in portal.asp, searching for topic_featured=1 (or whatever) and order by date... Am I mistaken?

oh yeah, and we don't want to display the entire post if it's too large. Maybe just have a paragraph or two and then do a "conitnued..." or "more" hyperlink at the bottom of it.. along with the "view user comments" link ??<
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 18 June 2004 :  04:48:47  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message  Reply with Quote
Is there a new version coming anytime soon? =)<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 18 June 2004 :  05:57:41  Show Profile  Reply with Quote
quote:
Originally posted by Radianation

Is there a new version coming anytime soon? =)



What's up with this version?<

The UK MkIVs Forum
Go to Top of Page

Nertz
Junior Member

Canada
341 Posts

Posted - 18 June 2004 :  08:35:40  Show Profile  Reply with Quote
David,

Great mod! Suggestion: would you consider supporting images in your CMS editor for next release? Forum code image tags didn't work in 1.1, they display as text on the portal page, as shown here in my portal test site.

cheers,
Nat<

Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers
that use our children unjustly as "instruments" of power.


www.fathers-4-justice-canada.ca
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 18 June 2004 :  09:10:06  Show Profile  Reply with Quote
It should support images already? I'll have a look at the code over the weekend.<

The UK MkIVs Forum
Go to Top of Page

Nertz
Junior Member

Canada
341 Posts

Posted - 18 June 2004 :  09:27:12  Show Profile  Reply with Quote
David,

Thanks for replying so quickly. I'm sorry, feel so stupid right about now. It appears the display images in post setting in forum feature config was turned off. That fixed it. Sorry again for the false alarm.

cheers,
Nat



<

Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers
that use our children unjustly as "instruments" of power.


www.fathers-4-justice-canada.ca
Go to Top of Page

gazraa
Starting Member

United Kingdom
8 Posts

Posted - 26 June 2004 :  09:27:32  Show Profile  Visit gazraa's Homepage  Reply with Quote
David - great mod but I think I've found a slight bug in one of your mods to your mod. I think it's the one that allows moderators to moderate content in admin_cms_content.asp.
in your mod you put:

if Session(strCookieURL & "Approval") <> "02403420121" then
        if Session(strCookieURL & "Approval") <> "02403420121" then
                scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
                Response.Redirect "moderator_login.asp?target=" & scriptname(ubound(scriptname))
        end if
end if


I think you got the number in the second if statement wrong, it should be:

if Session(strCookieURL & "Approval") <> "02403420121" then
        if Session(strCookieURL & "Approval") <> "15916941253" then
                scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
                Response.Redirect "moderator_login.asp?target=" & scriptname(ubound(scriptname))
        end if
end if

if you do it the way you had it, when you want to add content you keep getting the login screen and then you can't get to the list of content to edit.

Other than that, a great mod. It's just a shame I can't get my host to make portal.asp the homepage <

Have you spoken down the porcelain telephone lately? - http://www.toilethugger.co.uk
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 28 June 2004 :  06:09:06  Show Profile  Reply with Quote
That add-on was done by someone else, thanks for pointing it out though<

The UK MkIVs Forum
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 28 June 2004 :  07:42:49  Show Profile  Visit proeder's Homepage  Reply with Quote
Why not adding a redirect from your hosts default page to portal.asp?<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 28 June 2004 :  09:13:27  Show Profile  Reply with Quote
Looks like the forum is in the root and not in a /forum/ folder. You could put some code at the top of default.asp that checks the referrer, if the referrer isn't your own site then redirect to portal.asp.<

The UK MkIVs Forum
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 28 June 2004 :  11:58:42  Show Profile  Visit proeder's Homepage  Reply with Quote
Yeah but that would enforce vistors to go in any case over portal.asp in the forum. Most of the ISPs have a set of default pages; I would simply take another one in the list (which needs to be set to a higher priority though) and put only the redirect in it.<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 28 June 2004 :  12:10:10  Show Profile  Visit PeeWee.Inc's Homepage  Reply with Quote
I just renamed default.asp from the forum to forumhome.asp and then renamed protal.asp to default.asp. A bit of code to edit, but really easy to do <

De Priofundus Calmo Ad Te Damine
Go to Top of Page

gazraa
Starting Member

United Kingdom
8 Posts

Posted - 07 July 2004 :  17:58:53  Show Profile  Visit gazraa's Homepage  Reply with Quote
peewee - i'm about to do a similar thing by renaming the files. Can you give a bit more info about how much other code changing is required to make this work?

cheers<

Have you spoken down the porcelain telephone lately? - http://www.toilethugger.co.uk
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 22 July 2004 :  15:43:42  Show Profile  Visit aspwiz's Homepage  Reply with Quote
David....

I've mad a few mods to your mod (see it in action on the yet unreleased version of my site - http://www.webforumz.com/v2)

The thing is, I want to allow the public to publish articles and wondered if you, or anyone else has approached this functionality for portal mod?

Public articles would first need to be approved by a moderator / admin before sending them live.

Any suggestions?<
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07