Gossamer Forum
Home : Products : Links 2.0 : Customization :

Comments 4 lite released.

Quote Reply
Comments 4 lite released.
It should be easier to install than 2 or 3.1. You'll find instructions here (it'll be moved once my hosting company sorts their server problems out):

http://cgi-resource.co.uk/pages/comment4l.html

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Yup! It is definitely easier to install... I got it working!

By the way... is it possible to include more than 2 images?

Can you add preview post before comment submission?

Quote Reply
Re: Comments 4 lite released. In reply to
'By the way... is it possible to include more than 2 images?'

Funny you should say that I've just this minute updated it to have 3 images (check out the link again).


'Can you add preview post before comment submission?'

Could be altered to include that however I'm adding no more features to it, as things such as preview post etc.. are in comments 4.1 advanced...

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Wow!! I have tryed to install 2.0, 3.1 with no luck :( but this one (4 lite) was much easyer, thank you glennu!


Quote Reply
Re: Comments 4 lite released. In reply to
works great .. thanx glennu!!

bye

Gregor
www.vstopnice.com
www.balonarstvo.com
www.e-nepremicnine.com
Quote Reply
Re: Comments 4 lite released. In reply to
Hmmm i getting greedy... how abt 4 images? Cos i wanna use the images to rate sites according to...

1- Site with great content
2- Site with fantastic design
3- Best of both worlds
4- Normal...

Or many can modify it to include many many images?

Quote Reply
Re: Comments 4 lite released. In reply to
Shouldn't be too hard Cool

If Glenn is too busy with other things this may be a mod I can do to his mod Wink

What do you recon Glenn?

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Comments 4 lite released. In reply to
Andy it isn't even worthy of being called a mod - it would take like one second to do.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Comments 4 lite released. In reply to
Add a new field to the form.....

<INPUT type="radio" name=Rating value = 3><IMG SRC="$db_images/normal.jpg" ALT="Normal site">

Then at the top in the relevant bit add...

$rate4++ if ($values[$db_rating] == 3);

Then change

$links=$rate1=$rate2=$rate3=0;

to....

$links=$rate1=$rate2=$rate3=$rate4=0;

I may have missed something else but I just did it quickly but that is the general idea.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Comments 4 lite released. In reply to
Go on then...I won't bother doing it....you can.... Frown

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Comments 4 lite released. In reply to
Yeah it's not that hard all you need to do is...:

Change the comment submit form ie. currently it has
great site (value = 2)
okay site (value = 1)
bad site (value = 0)

If you want another image tjust change the scale of it there. ie values 3 to 0 instead or 2 to 0.

Then edit site html commentr 2 (so it uses the other image and change the scale there. If using many images is best to use a loop instead of if/else statements.)

Then in the cgi script just change the code that calculates how many people liked it/ didn't like it etc...

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Already did Andy :)

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Comments 4 lite released. In reply to
Just a quick note Glenn Wink

You do realise that your comments 4 page still says 2 images, instead of 3, and also the commentid4.txt file is actually called comments4id.txt.txt Cool

Just thought I would tell you so you could update the page and fix the download Smile

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Comments 4 lite released. In reply to
Cheers for the info. I'll fix it once I get access via ftp to my newer site (I want to get my stuff off of spaceports as the ads and pop ups they use are driving me mad!)

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Great. And yes, those ads are VERY ANNOYING...especaially the one you can't close unless you click it Frown

Bye

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Comments 4 lite released. In reply to
Yep on the plus side I now have access to my account again and so have moved it to here: Smile

http://cgi-resource.co.uk/pages/comment4l.html

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Glenn,

Just a note to thank you. I truly like this mod.

You rock!

Madonna

Quote Reply
Re: Comments 4 lite released. In reply to
No problem, glad you like itSmile

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Great Mod Glennu - can see great potential for it.

Anyone...
Is there a simple way to change the mod a bit so that your comments will come up on the detailed page for that listing?
Sort of like amazon.com

I'm not a programmer, but I like to learn. I've been playing with the script for a while, but I'm close to giving up on this idea. Adding your comments can be on a separate page...

Jinni

Change is a purpose in progress...and a purpose is only a strong as it's Creator.
Quote Reply
Re: Comments 4 lite released. In reply to
On my page it says:

'If you want more features such as different sorting, page spanning, validate option, list all, search etc.. then you should look at comments 4.1 advanced. '

The main purpose of it was to make it simple so people can install it. I'm not adding any more features as that's what comments 4.1 advanced is for.

That said however it already acts as a detailed page. Ie. the comments for a link are displayed on the seperate page plus any tags for the link can be used.


Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Comments 4 lite released. In reply to
Hi Glenn,

I just luv this mod.

I want to add <font color="#000000" size="1"><b> Comments: </b></font>
<font color="#FF0000" size="1"><%comments%></font>
<font color="#000000" size="1"><b> )</b><%totals%>

to my link.html but I seem to have the coding wrong.

Can you point me in the right direction what it might be?

Thanks again.

Madonna



Quote Reply
Re: Comments 4 lite released. In reply to
Glenn,

I figured it out!

Madonna

Quote Reply
Re: Comments 4 lite released. In reply to
For the benefit of other users, it is always best to post your solutions.

Regards,

Eliot Lee
Quote Reply
Re: Comments 4 lite released. In reply to
Hi Eliot,

Okay....I think this is right.

<font color="#000000" size="1"><b> Comments: </b></font>
<font color="#FF0000" size="1"><%totals%></font>

It shows when a Comment is made. For example:

Comments: 1

But it does not show when no Comment is made.

For example:

Comments: 0

Any suggestions?

Madonna