Author |
Topic |
@tomic
Senior Member
USA
1790 Posts |
|
Huntress
New Member
USA
96 Posts |
Posted - 31 October 2002 : 00:03:48
|
Okay... how do I use your code more than once on a page?
Any secrets?
I'm using it once for recent topics as listed above, and I want to use it again (and again) to post regional news.
When I added the new one (before the existing one) the old one was embedded into the frame of the new one. <plain as mud, eh?> |
There are 10 kinds of people, those that understand binary, and those that don't. |
Edited by - Huntress on 31 October 2002 00:09:32 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 31 October 2002 : 00:14:31
|
I just make a table and place each one in a cell and that's about it. Each sub call can be set to display whatever forum,category or topic. That's how easy it should be anyway. If there is an HTML problem it could get ugly. You only need content.asp and inc_contentdisplay.asp included once.
@tomic |
SportsBettingAcumen.com |
|
|
Huntress
New Member
USA
96 Posts |
Posted - 31 October 2002 : 01:06:55
|
thanks I'll give that a try tomorrow and let you know |
There are 10 kinds of people, those that understand binary, and those that don't. |
|
|
pox
Junior Member
Denmark
110 Posts |
Posted - 31 October 2002 : 11:31:27
|
is there anyone who have a shitz whith the nessary mods and content display mod installed.. so i can look around in the code.. because i can still not get content display mod to work whith my forum
take care.. |
|
|
Huntress
New Member
USA
96 Posts |
Posted - 01 November 2002 : 00:27:07
|
quote: Originally posted by pox
is there anyone who have a shitz whith the nessary mods and content display mod installed.. so i can look around in the code.. because i can still not get content display mod to work whith my forum
take care..
God I hope not.... ohhh wait.... that's snitz buddy!
Check out serverhacker.com for a modded portal forum... doesn't have content manager, BUT it works with it. I think the point you might be missing here is how this mod works with a portal type site.
@tomic... didn't get a chance to try that tonight, but tomorrow is another story. |
There are 10 kinds of people, those that understand binary, and those that don't. |
|
|
Jeepaholic
Average Member
USA
697 Posts |
Posted - 05 November 2002 : 15:22:37
|
Ok, so I applied all of the 0,0 private forum mods mentioned in the past page. Below is my call, and it's still showing private forum messages.
DisplayContent 0, 0, 1, 3, 0, 3, 100, 0, 0, 0, 3, 1, "Recent Topics", "200", "topic.asp" %>
Any thoughts?
Also, any luck on the "Strip All" function from above, @tomic? Not nagging, just curious. We're all busy, I know. |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 05 November 2002 : 15:59:04
|
quote: Originally posted by Jeepaholic
Ok, so I applied all of the 0,0 private forum mods mentioned in the past page. Below is my call, and it's still showing private forum messages.
DisplayContent 0, 0, 1, 3, 0, 3, 100, 0, 0, 0, 3, 1, "Recent Topics", "200", "topic.asp" %>
Any thoughts?
not sure what's wrong?? it seem work fine for me...
but i think the simplest way to test this, just add this line somewhere in content.asp..
Response.Write "Allowed ForumList: " & ForumList
or maybe just output your whole SQL string..
Response.Write strSql set rs = Server.CreateObject("ADODB.Recordset")
my situation look like this..(use your DisplayContent string..) SELECT FORUM_ID FROM ......................... .............. WHERE FORUM_TOPICS.CAT_ID > 0 AND FORUM_TOPICS.FORUM_ID IN (1, 5, 6, 2, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 26, 24, 29) AND FORUM_FORUM.......
the SQL string look no problem, and it really get rid of those private forums for me. |
|
|
Jeepaholic
Average Member
USA
697 Posts |
Posted - 05 November 2002 : 16:31:09
|
I'm an idiot. <laugh> Here I am editing content.asp, when I should have been editing another file that I modified for display purposes on the main page. <rolling eyes> Thanks for the help...realizing that strSQL was not being displayed when I put that line in finally clued me in. |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 05 November 2002 : 16:48:32
|
hi~ Jeepaholic, you only need to add one line in content.asp to check this.
content.asp about line.143 (if you applied my fixed code..) Response.Write strSql set rs = Server.CreateObject("ADODB.Recordset") rs.cachesize = 20
rs.open strSql, my_Conn, 3, adLockReadOnly, adCmdText
it's a useful method to check your SQL query everywhere..
my fix code just add a simple private forum check before strSql, so you can take a look the output SQL string... ...AND FORUM_TOPICS.FORUM_ID IN (1, 5, 6, 2, ........ ) ... if the fix work, above Forum List should be no way to appear some private forum_id. |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 06 November 2002 : 15:44:42
|
I think Content Display is way cool. I have almost been able to turn it into my Personal Notes Mod. I have run in to some issues which are holding me back. @tomic, Doramoon, anyone else intersted helping me develop this idea read my notes here http://one.qpoe.com/snitznotes.htm Thanks! |
www.thomasforum.com |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 06 November 2002 : 16:35:35
|
I can see how this might work with a few dozen users but if you started getting into the 100+ wouldn't it slow your site down having so many individual forums for users? It just seems like an awful lot of trouble and taxation on your forum for just notes. If you don't need all of the functionality of the forum I wouldn't put it there. You could modify Personal Messages for instance and rather than sending messages to other people they end up being a "note to self" sort of thing. Obviously, you might wish to have categories of different types of notes like meetings which would remind you. My biggest question is why? Why do something on the wild, wild web which you can do far easier and infinitely more securely on your own desktop? It's a different matter if the notes are for collaboration and are not "Personal" notes but that's why you have a forum. I could just be missing the point but I wouldn't put personal data on the web especially not when I can put it in a portable device or leave it on my computer.
@tomic |
SportsBettingAcumen.com |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 06 November 2002 : 16:45:38
|
@tomic. I agree with the fact that this solution to "personal note" would create unecessary stress on the forum. I hadn't thought of that. My reasoning for "personal notes" comes from dealing with the type of people (friends and family) whom I expect to use this personal forum. I am usually the computer support person and I can tell you that people can't seem to be able to keep a .txt file on a floppy without losing, erasing, destroying it. My point being that if I can create a place for people not only to communicate but a file repository (in a sense) then it will ultimatly save me time. Anyway, I can see your point but the "notes" really will be related to the forum (at least in my mind) so that's why my desire to have it integrated. Does this make sense or am I out on a limb here? |
www.thomasforum.com |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 06 November 2002 : 16:55:10
|
@tomic, have you seen the reasearch notes which is integrated with Intenet Explorer? http://www.memobook.com/index3.asp They boast "the same notes at home and at work." The beuty of the idea to me is that the notes are right there where you will se eit as you use it. This also draws people back to the site. This is important to me since there are a divers egroup of people I'm trying to draw together to the forum.
Anyway, this mod I'm trying to create is the same idea. I hadn't thought of modding PM. ANy suggestions on what I would have to do off the top of your head?
Also, do you have any clue as to why I cannot see any of the text from topics posted in my forum in the 'form' field of post.asp when I edit them?
|
www.thomasforum.com |
Edited by - jeffery on 06 November 2002 16:57:04 |
|
|
Amphinon
New Member
USA
96 Posts |
Posted - 12 November 2002 : 16:14:45
|
PLease forgive me for being a newbie...
I had 3.3 setup on my website until I saw the content display MOD so I updated. My forum works great. However when I am trying to setup the content display, it errors with:
Microsoft VBScript compilation error '800a0411'
Name redefined
/../../forum/content.asp, line 39
dim rs, T_Cat_ID, Forum_Subject, Topic_Date, Topic_Subject ----^
Why? |
David Dyer http://www.myroken.com Snitz Forums Ver. 3.4.03 |
|
|
Topic |
|
|
|