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

acercatealaluz
Starting Member

4 Posts

Posted - 07 February 2004 :  12:24:48  Show Profile  Reply with Quote
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
Go to Top of Page

acercatealaluz
Starting Member

4 Posts

Posted - 09 February 2004 :  06:15:54  Show Profile  Reply with Quote
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.<
Go to Top of Page

pako
Starting Member

Spain
39 Posts

Posted - 10 February 2004 :  14:59:50  Show Profile  Visit pako's Homepage  Reply with Quote
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

<
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 13 February 2004 :  14:20:27  Show Profile  Reply with Quote
when i set a value for 'Homepage Content' in 'CMS Configuration'
it said "The server failed to return this URL http://www34.brinkster.com/tannguyen2704/diendan/admin_config_cms.asp"<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 13 February 2004 :  17:24:19  Show Profile  Reply with Quote
I can see that URL fine, obviously it returns me to the login page<

The UK MkIVs Forum
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 16 February 2004 :  01:11:25  Show Profile  Reply with Quote
i have an error like this : "You must set a value for 'Homepage Content' in 'CMS Configuration'<
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 16 February 2004 :  22:58:58  Show Profile  Reply with Quote
hic when i set CMS configuaration the table doesn'n have the submit button <
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 17 February 2004 :  06:43:57  Show Profile  Reply with Quote
Did you run the dbs file successfully?<

The UK MkIVs Forum
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 17 February 2004 :  11:12:10  Show Profile  Reply with Quote
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]<
Go to Top of Page

NorwegianViking
Junior Member

Denmark
119 Posts

Posted - 17 February 2004 :  12:11:30  Show Profile  Visit NorwegianViking's Homepage  Reply with Quote
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.

  1. Install a fresh Snitz 3.4.04 (the tools.zip is not neccesary) to your /FORUM catalog.

  2. Check that it runs OK

  3. Upload the file dbs_portal.asp to your /FORUM catalog

  4. Go to Admin Options and log on as an Admin

  5. Select Mod Setup

  6. From the drop down menu, select "David's Portal Mod" or "Portal" (or whatever this MOD lists)

  7. - 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.
  8. 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.

  9. Upload these changed files to /Forum

  10. Upload the rest of the files (asp, gif, jpg's) from the MOD to the /Forum

  11. Test that your forum still works

  12. Configure the MOD

  13. Test the MODs functions



<

kind regards
NorwegianViking

Mod installation for beginners | User registration problems?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 17 February 2004 :  14:40:47  Show Profile  Reply with Quote
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
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 17 February 2004 :  22:51:43  Show Profile  Reply with Quote
yes i did<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 18 February 2004 :  04:34:22  Show Profile  Reply with Quote
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
Go to Top of Page

ngoctan
Starting Member

13 Posts

Posted - 18 February 2004 :  10:15:11  Show Profile  Reply with Quote
i did it the first time,<
Go to Top of Page

kev0153
Starting Member

14 Posts

Posted - 18 February 2004 :  12:51:22  Show Profile  Reply with Quote
David,

Awesome mod. I have it running here.

http://nissanoffroad.net/messageboard/portal.asp<
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07