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.0 (with Links Manager 3 integration)
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

lsakizada
New Member

USA
90 Posts

Posted - 28 July 2003 :  00:10:35  Show Profile
Hi David,
Is it possible to create dynamic content? let say that administrator submit script code inside the body text box to read from db.
I am appreciated your work.
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 28 July 2003 :  17:15:42  Show Profile
fixed for chillisoft

PetersWeb, what do you mean be removing every instance of |, i can't find any

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 28 July 2003 :  17:19:50  Show Profile
Will be doing a mod to integrate the Portal Mod with Links Manager 3 next, any suggestions, was thinking about top 5 most popular links

The UK MkIVs Forum
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 28 July 2003 :  20:59:12  Show Profile  Send StephenD a Yahoo! Message
Hi David
What about a simple box/table include where you can specify links within your own site.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 29 July 2003 :  12:58:00  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by DavidRhodes

Will be doing a mod to integrate the Portal Mod with Links Manager 3 next, any suggestions, was thinking about top 5 most popular links


David, I have done a function some time ago to easily display top x (by rating, hits, latest) links like ie. Huw's forum does it.
If you'd like to take a look at the code, let me know.
I'll try to find it in the meantime...

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 29 July 2003 :  17:14:24  Show Profile
OneWayMule,
Cut bits from your TopNewPopular() and DisplayALink() functions to display x most popular/recent links in the Portal Mod http://www.uk-mkivs.net/forum/uk_home.asp
I'll post up the finished code to add to portal.asp in the next day or so

The UK MkIVs Forum
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 29 July 2003 :  17:24:40  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Looks good!

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 29 July 2003 :  18:23:13  Show Profile
Here is the code to integrate Links Manager 3 to the Portal Mod
Links Manager 3 need to be installed

portal.asp, line 112

replace
		if strCMSEnableSearch = "1" then

with
		call DisplayLinks(strCMSRightNavWidth)
		if strCMSEnableSearch = "1" then


portal.asp, line 353

before
sub StartTable(byval Width, byval Heading)

paste
sub DisplayLinks(byval Width)

	'Integrated with Links Manager 3 (Original code by OneWayMule)
	dim strSql, rsPopular, strLink, intCount, strLMOrderBy, strLMTitle
	
	'Number of links to appear
	intCount = 5
	'#####################################################################
	'Un-comment a group of 2 of the following 6 variables
	'######################################################################
	strLMTitle = "Latest Links"
	strLMOrderBy = "SHOW=1 ORDER BY POST_DATE DESC, NAME DESC"
	'######################################################################
	'strLMTitle = "Most Popular Links"
	'strLMOrderBy = "SHOW=1 AND HIT>0 ORDER BY HIT DESC"	
	'######################################################################
	'strLMTitle = "Top Rated Links"
	'strLMOrderBy = "SHOW=1 AND VOTES>0 ORDER BY RATING DESC, NAME DESC"
	'######################################################################	

	call StartTable(Width, strLMTitle)

	strSql = "SELECT LINK_ID, NAME, URL FROM " & strTablePrefix & "LINKS WHERE " & strLMOrderBy
    
	Set rsPopular = my_conn.Execute(TopSQL(strSql, intCount))
	If NOT rsPopular.EOF Then
		Do While NOT rsPopular.EOF
		
			strLink = "              <a href=""links.asp?action=goto&id=" & rsPopular("LINK_ID") & """ "
			If strLMOpenMethod = "1" Then
				strLink = strLink & " target=""_blank"""
			End If
			strLink = strLink & ">" & rsPopular("NAME") & "</a><br />" & vbNewLine

			Response.Write(strLink)
			
			rsPopular.MoveNext
		Loop
	End If
	rsPopular.Close
	Set rsPopular = Nothing	
		
	call EndTable()

end sub

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 31 July 2003 :  18:23:38  Show Profile
My downloads page (see 1st post) has been updated with Portal Mod v1 final (i hope!)

This mod has full integration of Links Manager 3 whereby x links of a certain type are displayed on the portal, admin facilities enable you to turn the list on/off, set the type to display (latest/popular/ranked) and set the amount to display.

If anyone has the Portal Mod beta and has LM3 installed and wants to upgrade to the final Portal Mod let me know, upgrading is simple.

The UK MkIVs Forum
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 31 July 2003 :  21:17:43  Show Profile  Send StephenD a Yahoo! Message
Yes I do David please. Changed config.asp and loaded new variables. Did a File Compare on portal.asp and uploaded changed portal.asp with new cms files.

Q. Can the links open in a new window?

Edited by - StephenD on 31 July 2003 22:33:43
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 August 2003 :  05:40:44  Show Profile
Stephen,
The links will open according to your LM3 settings

upgrading from beta:
add 3 lines to config.asp, see bottom 3 varaibles in new readme
replace portal.asp
replace admin_config_cms.asp

that's all no db changes require

The UK MkIVs Forum
Go to Top of Page

borge
Junior Member

Norway
185 Posts

Posted - 05 August 2003 :  12:38:26  Show Profile
Does anyone have any experience with installing this Portal Mod on forums with other mods already installed, like Image Headers, and Site Integration? Will that cause problems?

Btw David, I like that little "Glossary of Terms" mod that you have on the mkivs site, how do I get my hands on it?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 05 August 2003 :  15:32:38  Show Profile
The Portal Mod doesn't require any changes to any files except admin_home.asp and config.asp so it shouldn't cause problems to any existing mods.

Most of the mods on my site are custom using stored procedures and VB Classes (including Glossary of Terms), my portal page isn't the same as this Portal Mod (although it looks the same) but I made it snitz compatable because I thought it would be useful for others. I'll try and convert the Glossary of Terms soon.

The UK MkIVs Forum
Go to Top of Page

na501
Starting Member

7 Posts

Posted - 05 August 2003 :  21:29:17  Show Profile
Hi David ! I have installed successfully your portal and it works so good ! But i want to change something on my header to add the (home) to point to my portal like your web (Home, Forum, etc..) . So what do i have to do ?
In addition , i also want to add the "recent topic" on my portal like on the phpbb portal . Can you help me ?
Go to Top of Page

wwalker
Starting Member

10 Posts

Posted - 07 August 2003 :  01:55:14  Show Profile
David,
I installed your mod - but I am having problems.
When I am at the [CMS HOME] - [ADD CONTENT],
I get the form to edit content, but there isn't any save or submit button.
Any ideas?
Same thing when I am at the CMS configuration page - NO submit or save button.
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07