Author |
Topic |
acercatealaluz
Starting Member
4 Posts |
Posted - 07 February 2004 : 12:24:48
|
quote: Originally posted by DavidRhodes
what version do you have? hover over the snitz logo or link in the bottom right of all your page to find out
I have Forum Version 3.4.04
Any idea?
PD: By the way... when i installed the Forum i didn't use the Tools zip file that came with it... can it be perhaps some kind of problem dued to this?< |
Edited by - acercatealaluz on 07 February 2004 13:20:16 |
|
|
acercatealaluz
Starting Member
4 Posts |
Posted - 09 February 2004 : 06:15:54
|
No new ideas about what can i being making wrong?
Perhaps i could tell you the administrator username and password to try you to see the problem?
It's a test site, so no problems with making the password public.
Thanks in advance.< |
|
|
pako
Starting Member
Spain
39 Posts |
Posted - 10 February 2004 : 14:59:50
|
David, appreciate your mod and want to give some ideas if they will be possible in next releases.
In portal.asp, instead of having this code:
if strCMSEnableActiveTopics = "1" then call DisplayActiveTopics(strCMSRightNavWidth, strCMSActiveTopicsItems)
if strCMSLMInstalled = "1" then call DisplayLinks(strCMSRightNavWidth)
if strCMSEnableSearch = "1" then call DisplaySearch(strCMSRightNavWidth)
if strCMSEnableForumSearch = "1" then call DisplayForumSearch(strCMSRightNavWidth)
if strCMSEnableGoogleSearch = "1" then call DisplayGoogleSearch(strCMSRightNavWidth)
call DisplayCategories(0, strCMSRightNavWidth)
I prefer to use a string like 'rightcolumn' with a value like '1-2-3-4-5-6' and do this
s=split(rightcolumn,"-")
for i=0 to ubound(s)
select case(s[i])
case 1: call DisplayActiveTopics(strCMSRightNavWidth, strCMSActiveTopicsItems)
case 2: call DisplayLinks(strCMSRightNavWidth)
case 3: call DisplaySearch(strCMSRightNavWidth)
case 4: call DisplayForumSearch(strCMSRightNavWidth)
case 5: call DisplayGoogleSearch(strCMSRightNavWidth)
case 6: call DisplayCategories(0, strCMSRightNavWidth)
end select
next
With this system we can alter their order (f.e. rightcolumn='2-5-3-6-4-1') from an Admin panel without any code change. Even we can add a panel where users can personalize the portal changing this order. Also we reduce the variables needed and stored in database.
I expect your comments
< |
|
|
ngoctan
Starting Member
13 Posts |
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 13 February 2004 : 17:24:19
|
I can see that URL fine, obviously it returns me to the login page< |
The UK MkIVs Forum |
|
|
ngoctan
Starting Member
13 Posts |
Posted - 16 February 2004 : 01:11:25
|
i have an error like this : "You must set a value for 'Homepage Content' in 'CMS Configuration'< |
|
|
ngoctan
Starting Member
13 Posts |
Posted - 16 February 2004 : 22:58:58
|
hic when i set CMS configuaration the table doesn'n have the submit button < |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 17 February 2004 : 06:43:57
|
Did you run the dbs file successfully?< |
The UK MkIVs Forum |
|
|
ngoctan
Starting Member
13 Posts |
Posted - 17 February 2004 : 11:12:10
|
when i run dbs_portal.asp it like this :
David's Portal Mod [DROP] CMS_CATEGORY [END] [DROP] CMS_CONTENT [END] [CREATE] CMS_CATEGORY CAT_ID CAT_TITLE#varchar(20)#NULL# CAT_ISLEFT#smallint#NULL#0 CAT_ORDER#int#NULL# [END] [CREATE] CMS_CONTENT CONT_ID CAT_ID#int#NULL# CONT_TITLE#varchar(100)#NULL# CONT_SUMMARY#memo#NULL# CONT_BODY#text#NULL# CONT_POSTEDBY#int#NULL# CONT_AUTHOR#int#NULL# CONT_DATE#varchar(14)#NULL# CONT_LAST_EDIT#varchar(14)#NULL# CONT_STATUS#smallint#NULL#0 [END] [INSERT] CONFIG_NEW (C_VARIABLE,C_VALUE)#('strCMSLeftNavWidth','150') (C_VARIABLE,C_VALUE)#('strCMSLeftNavDisplay','5') (C_VARIABLE,C_VALUE)#('strCMSLeftNavItems','1') (C_VARIABLE,C_VALUE)#('strCMSRightNavWidth','150') (C_VARIABLE,C_VALUE)#('strCMSRightNavDisplay','5') (C_VARIABLE,C_VALUE)#('strCMSRightNavItems','1') (C_VARIABLE,C_VALUE)#('strCMSEnableSearch','1') (C_VARIABLE,C_VALUE)#('strCMSDefaultCID','0') (C_VARIABLE,C_VALUE)#('strCMSPageTitle','Portal') (C_VARIABLE,C_VALUE)#('strCMSTitleDisplay','1') [END]< |
|
|
NorwegianViking
Junior Member
Denmark
119 Posts |
Posted - 17 February 2004 : 12:11:30
|
acercatealaluz,
it seems like you have done something wrong when installing this mod, at least the database has not been correctly updated.
I think you should start again, as it will be difficult to know where to start searching for the error.
Follow these step in EXACTLY this order.
- Install a fresh Snitz 3.4.04 (the tools.zip is not neccesary) to your /FORUM catalog.
- Check that it runs OK
- Upload the file dbs_portal.asp to your /FORUM catalog
- Go to Admin Options and log on as an Admin
- Select Mod Setup
- From the drop down menu, select "David's Portal Mod" or "Portal" (or whatever this MOD lists)
- if, for some reasons, the system is unable to run the commands in the dbs file, you have to do the following instead. Select Alternative Mod Setup In the window that appears, paste the content of the dbs_portal.asp
Carefully note if there is any errors Now the database should be set up correctly.
- Make changes to the files that the MOD instructions intructs you to. (You have propably already done this, so if you have a copy of them, you may use these.
- Upload these changed files to /Forum
- Upload the rest of the files (asp, gif, jpg's) from the MOD to the /Forum
- Test that your forum still works
- Configure the MOD
- Test the MODs functions
< |
kind regards NorwegianViking
Mod installation for beginners | User registration problems?
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 17 February 2004 : 14:40:47
|
quote: Originally posted by ngoctan
when i run dbs_portal.asp it like this :
David's Portal Mod [DROP] CMS_CATEGORY [END] [DROP] CMS_CONTENT [END] [CREATE] CMS_CATEGORY CAT_ID CAT_TITLE#varchar(20)#NULL# CAT_ISLEFT#smallint#NULL#0 CAT_ORDER#int#NULL# [END] [CREATE] CMS_CONTENT CONT_ID CAT_ID#int#NULL# CONT_TITLE#varchar(100)#NULL# CONT_SUMMARY#memo#NULL# CONT_BODY#text#NULL# CONT_POSTEDBY#int#NULL# CONT_AUTHOR#int#NULL# CONT_DATE#varchar(14)#NULL# CONT_LAST_EDIT#varchar(14)#NULL# CONT_STATUS#smallint#NULL#0 [END] [INSERT] CONFIG_NEW (C_VARIABLE,C_VALUE)#('strCMSLeftNavWidth','150') (C_VARIABLE,C_VALUE)#('strCMSLeftNavDisplay','5') (C_VARIABLE,C_VALUE)#('strCMSLeftNavItems','1') (C_VARIABLE,C_VALUE)#('strCMSRightNavWidth','150') (C_VARIABLE,C_VALUE)#('strCMSRightNavDisplay','5') (C_VARIABLE,C_VALUE)#('strCMSRightNavItems','1') (C_VARIABLE,C_VALUE)#('strCMSEnableSearch','1') (C_VARIABLE,C_VALUE)#('strCMSDefaultCID','0') (C_VARIABLE,C_VALUE)#('strCMSPageTitle','Portal') (C_VARIABLE,C_VALUE)#('strCMSTitleDisplay','1') [END]
You don't run dbs files in the browser Go to Mod Setup in admin options and run from there< |
The UK MkIVs Forum |
|
|
ngoctan
Starting Member
13 Posts |
Posted - 17 February 2004 : 22:51:43
|
yes i did< |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 18 February 2004 : 04:34:22
|
You wouldn't get an output like that if you did, what did it say when you ran it from the mod setup page< |
The UK MkIVs Forum |
|
|
ngoctan
Starting Member
13 Posts |
Posted - 18 February 2004 : 10:15:11
|
i did it the first time,< |
|
|
kev0153
Starting Member
14 Posts |
|
Topic |
|