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)

AndrewD 10-16-2004 12:34 PM

Quote:

Originally Posted by Lionel
I did a nice little addition to rating
below:

$linkrate = round($links_totrate[$linkid] / $links_numrate[$linkid]);

I added:

$thevote="<img src=\"images/rating/rating_$linkrate.gif\">";

and in template ratebit, I swapped $linkrate with $thevote. :squareeyed:

Thanks Lionel

Those who do not like coding can achieve this just by editing the links_ratebit template
PHP Code:

<span class="smallfont"> <img src=images/rating/rating_$linkrate.gif> <if condition="$links_permissions[can_admin_links]"> <a href="local_links.php?action=doratelink&amp;vote=-1&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">clear</a></if></span


Blam Forumz 10-16-2004 02:17 PM

Quote:

Originally Posted by AndrewD
See reply to bitg. Will try to provide a fix soon.

Thanks

Also, i got it to work by making it so it has the parent of a section on my forum ^^

hodur 10-17-2004 04:59 PM

I have a error, when I want to moderate a link:
Quote:

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
mysql error: Query was empty

mysql error number: 1065

Datum: 17.10.2004 19:48:54
Skript: http://mysite.com/forum/local_links....modcat&catid=7
Referer: http://mysite.com/forum/local_links.php?action=mod
Benutzername: hodur
Any ideas?

AndrewD 10-17-2004 07:31 PM

Quote:

Originally Posted by hodur
I have a error, when I want to moderate a link:

Any ideas?

Sorry, there's a bug in the uploaded version, see https://vborg.vbsupport.ru/showpost....&postcount=600 for the fix.

I forgot to upload the corrected version.

hodur 10-17-2004 08:41 PM

Now ist works fine. :squareeyed:
Thanks.

AndrewD 10-18-2004 06:15 PM

Version 1.35a now supported; version 1.41 beta; see first post of thread.

Reports please.

welo 10-18-2004 06:28 PM

Looking pretty good, Andrew ;). I was going to wait until 1.35 went stable and use that, although I think it's a safe risk just to go ahead with 1.41b ;). Oh, and kudos on your superior documentation.

Lionel 10-18-2004 09:47 PM

"added option to allow new links to have an empty link, i.e. just a name
and description"

Is that something that is typical with new beta or could that be achieved in 1.35?

Roms 10-19-2004 02:24 AM

I like it, it was very user friendly to install. I customized it a little just to say "downloads".....

Thanks for the work.

*Clicks Install

AndrewD 10-19-2004 03:32 AM

Quote:

Originally Posted by Lionel
"added option to allow new links to have an empty link, i.e. just a name
and description"

Is that something that is typical with new beta or could that be achieved in 1.35?

It was added in 1.41, following your (and others) suggestion/request. Version 1.35 did not allow it. I have not included the other bits that you added, to provide the extended link description and wisiwig editor.


All times are GMT. The time now is 04:00 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.01879 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (5)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