Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD: Most Recent Posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD: Most Recent Posts

 Post Reply Post Reply Page  <12345>
Author
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 11:24am
Originally posted by nsomniac nsomniac wrote:

Hi Mr Mellie,

Your mod works great, but was just wondering why it formats to a different style than the rest of the forum? I mean by font, background color of tables... is there a way to get it to keep to the same style as the forum proper?
Ummmm... It should look the same. It uses the forum style classes so everything, colour, fonts etc, should be the same. Confused Have you got a link to an example where it's not doing that?
 
 
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 11:27am
Originally posted by nsomniac nsomniac wrote:

I tried to rewrite and change some variable and commented out the repeated naming of variables... ie commented out all the second Dim's and changed the constants intStyle to intStyle2 and so on... but i'm getting an error still....
Sounds like you're on the right track. In place of the first "call closeDatabase" command, try putting rsCommon.Close. This will leave the connection open and have the recordset in a state ready for the second query to run.
Back to Top
nsomniac View Drop Down
Newbie
Newbie


Joined: 01 March 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote nsomniac Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 9:46pm
Hi MrMellie,

The CSS is the same, sorry, my mistake... but its just that the topics and posts are written in a smaller size font.

http://www.usyddental.com

at the bottom of the page....

Do you know where in the css file that I can change this to be the same size font as the rest of the page??
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2007 at 9:27am
Aaah, ok I get you now. You don't need to modify the CSS as that will affect other bits of the forum. If you take out the bits of code that say:
 
<span class=""smText"">
 
then it should appear in the default font size. Let me know how you get on as I haven't tested this, but pretty sure it should work.


Edited by MrMellie - 16 March 2007 at 9:28am
Back to Top
nsomniac View Drop Down
Newbie
Newbie


Joined: 01 March 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote nsomniac Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2007 at 5:48am
Thanks MrMellie,

All has worked out well,

the rscommon.close phrase worked perfectly and i removed all the <smtext> coding as well as the <smlink> coding in the link part of the tables. Worked perfectly!

Thanks
Back to Top
rmusictv View Drop Down
Newbie
Newbie


Joined: 30 March 2007
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmusictv Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2007 at 5:48pm
I have tried to addf this to my forum (its working), but I keep getting the below message at the bottom of my forum.
 
 
------------------------------------------------------------------------------------
Microsoft VBScript runtime error '800a01a8'

Object required: 'adoCon'

/forum/database/database_connection.asp, line 269

------------------------------------------------------------------------------------
 
Heres the link to the forum......scroll below to see what I mean.
 
How do I fix it?
 
Have I put the code in the wrong place? If yes, where should I put it?
 
PLEASE HELP!!!!!
 
 
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2007 at 9:19am
Did you comment out the "call closeDatabase" line in default.asp?
Back to Top
Praveen View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 December 2005
Location: India
Status: Offline
Points: 218
Post Options Post Options   Thanks (0) Thanks(0)   Quote Praveen Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2007 at 2:09am
Hi I have a small problem. When there are no posts in the particular forum or the user does not have the permission, I get like this:
Quote
Error Type:
ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/works2007/enggsite/stuforum/recent_news_inc.asp, line 38
 
Line 38:
saryTopxx = rsCommon.GetRows()
 
Please explain me what to do.
Back to Top
 Post Reply Post Reply Page  <12345>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.