vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

Spinball 09-24-2004 06:32 AM

Excellent hack, thank you.
Can I please request an enhancement?
I want to list retailers on our site but it galls me somewhat that they will be getting free advertising.
I want to have 'premium' links which are displayed at the top and charge them for this service. I appreciate this might need a 'display order' field in the link table and admin page and the order sql will need the 'order by' bit changed. E.g. to order by displayorder ASC,title ASC etc
But I think being able to set a display order would be a useful feature.
I would, for example, set all normal links to a display order of 1 and all advertisers an order of 0 so the premium advertisers get listed alphabetically at the top.
It would also be great to be able to put a separator - just a small gap - between the premium links and the normal ones.
Is this something you'd be interested in adding do you think?

AndrewD 09-24-2004 06:58 AM

Quote:

Originally Posted by Spinball
Excellent hack, thank you.
Can I please request an enhancement?
I want to list retailers on our site but it galls me somewhat that they will be getting free advertising.
I want to have 'premium' links which are displayed at the top and charge them for this service. I appreciate this might need a 'display order' field in the link table and admin page and the order sql will need the 'order by' bit changed. E.g. to order by displayorder ASC,title ASC etc
But I think being able to set a display order would be a useful feature.
I would, for example, set all normal links to a display order of 1 and all advertisers an order of 0 so the premium advertisers get listed alphabetically at the top.
It would also be great to be able to put a separator - just a small gap - between the premium links and the normal ones.
Is this something you'd be interested in adding do you think?

Thanks for your kind remarks.

Indeed, others have asked for something similar, and it's quite easy to add. I'll hav a look this weekend.

Spinball 09-26-2004 06:40 AM

Thanks, Andrew.
Had another idea. Our links resource relates to audio visual resources. It includes manufacturers, distributors and retailers of AV gear. Very occasionally these companies don't have a website. In addition the retailers - partiularly those who are paying for a premium listing - would value having their phone number up there.
Is it at all possible to include entries where the link isn't active (because very occasionally the organisation has gone bust or doesn't have a website) and include a separate optional column for a phone number?
Thanks

AndrewD 09-26-2004 11:12 AM

Quote:

Originally Posted by Spinball
Thanks, Andrew.
Had another idea. Our links resource relates to audio visual resources. It includes manufacturers, distributors and retailers of AV gear. Very occasionally these companies don't have a website. In addition the retailers - partiularly those who are paying for a premium listing - would value having their phone number up there.
Is it at all possible to include entries where the link isn't active (because very occasionally the organisation has gone bust or doesn't have a website) and include a separate optional column for a phone number?
Thanks

I think I'll give this suggestion a miss. You can achieve a similar effect by setting up a small web page ("this site is no longer active") and using that as the link for entries that do not have a working web site.

If you send me an email, I'll reply with the beta code for your previous suggestion - display order + separator bars. The display and database code is written but not the admin code to modify the display order, so you have to use phpmyadmin.

Spinball 09-26-2004 11:28 AM

Email sent, thanks.

Spinball 09-27-2004 06:28 PM

I have found a small bug.
In the admin page listing of duplicate links, the links to the categories read as, for example:
HTML Code:

http://www.avforums.com/forums/local_links.php&catid=6
& instead of ?

AndrewD 09-28-2004 04:30 AM

Quote:

Originally Posted by Spinball
I have found a small bug.
In the admin page listing of duplicate links, the links to the categories read as, for example:
HTML Code:

http://www.avforums.com/forums/local_links.php&catid=6
& instead of ?


yep! thanks

Spinball 09-28-2004 11:41 AM

Andrew,
based on initial usage, I have another important feature request.
Some links might mistakenly be put into wrong categories. Or people might not know which to use. In addition, people might use inappropriate wording in links trying to spam people etc.
I think a category specific 'instructions' text field displayed when adding a link would be very useful.
In this field, one could enter specific instructions guiding people on how to enter new links and warning them not to abuse the system.
Hope you agree this would be useful.

AndrewD 09-28-2004 03:35 PM

Quote:

Originally Posted by Spinball
Andrew,
based on initial usage, I have another important feature request.
Some links might mistakenly be put into wrong categories. Or people might not know which to use. In addition, people might use inappropriate wording in links trying to spam people etc.
I think a category specific 'instructions' text field displayed when adding a link would be very useful.
In this field, one could enter specific instructions guiding people on how to enter new links and warning them not to abuse the system.
Hope you agree this would be useful.

This is straightforward but there's a slight complication. Even though one is already within a category when chosing "Add Link", the new link can be entered into multiple categories at the same time, and even perhaps not into the one that is current. This "instruction" field would clearly only relate to the current category. OK?

Spinball 09-28-2004 03:52 PM

Yes that would be fine.
It's mainly to give guidance on what is and isn't allowed to be posted in the link description. Today we had a retailer post an essay on how great they were.
That's not appropriate, obviously.


All times are GMT. The time now is 06:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01668 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete