Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to add sponsored links like hotscripts.com?

Quote Reply
How to add sponsored links like hotscripts.com?
I have read this post:

http://www.gossamer-threads.com/...ored%20links;#138849

And this is my conclussion:

1. Add a new field called for example: sponsored (yes, no)

2. Add the variables to links template:

<%if sponsored%>
<b>sponsored</b>
<%else%>
regular link code here
<%endif%>

3. Go to admin->setup->build options. In build_sort_order_category sort by sponsored DESC,isNew DESC,Title

4. Thats all.

This is correct? Another suggestion for sponsored links?



Thank you very much.
Quote Reply
Re: [pedroguerra] How to add sponsored links like hotscripts.com? In reply to
Yup, thats about it ;) If you want to give certain advertisers a higher ranking than other sponsors, then you could add another field called 'sponsor_rank', and then have a drop down box of 1-10. You will then need something like;

sponsored DESC,sponsor_rank DESC,isNew DESC,Title etc.

Hope that helps.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to add sponsored links like hotscripts.com? In reply to
Thank you Andy.

I have an error in the "add link" form. Appears: The field sponsor can not remain empty (or similar error message).

How to change the field?

I need only the administrator can add sponsors and not in the public "add link" form.

Thanks.
Quote Reply
Re: [pedroguerra] How to add sponsored links like hotscripts.com? In reply to
I also liked the global Alex created for sponsored links by keywords:

http://www.gossamer-threads.com/...ing=keyword%20phrase

That way, you can sell keywords. Just a thought...

Sean
Quote Reply
Re: [pedroguerra] How to add sponsored links like hotscripts.com? In reply to
What did you set the 'sponsor' regex to? Also, did you define it as 'not null' ?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to add sponsored links like hotscripts.com? In reply to
Andy, this is the configuration of new field (column):


Column Name: Sponsored

Column Type: ENUM

Column Index: Regular

Column Size:

Column Values (Only for ENUM types):
No
Yes

Not Null: Yes

Default: No

Form Information:

Form Display:

Form Type: RADIO

Form Size:

Form Names (Stored in Database) Only for checkbox, multi-select or radio forms:
No
Yes

Form Values (Displayed on Form) Only for checkbox, multi-select or radio forms:
No
Yes


File Save Location (Only for FILE types. Stored on disk):

File Save Method (Only for FILE types): HASHED

Form Regex:

Search Weight:




I want to put sponsors and that the visitors can send his links without I have to modify the forms.

For example, in Hotscripts.com they have links sponsored, but in the form "Add Listing" the sponsoring field does not exist.



Thank you very much.Wink
Quote Reply
Re: [pedroguerra] How to add sponsored links like hotscripts.com? In reply to
Hi

is there a way to assign an expiration date to the sponsored link?

What I mean that the link will not become sponsor value after the XX day will change from Y to N?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory