vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Links Directory 2.0 *NEW VERSION* (https://vborg.vbsupport.ru/showthread.php?t=44551)

gmarik 06-06-2003 05:51 AM

brianstevz,

There was a guy who is developing version 3.0, look in the Lounge.

Rhymology 06-08-2003 05:53 AM

this didnt work for me...im getting this

Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12

Rhymology 06-08-2003 07:26 AM

HELP...

brianstevz 06-16-2003 11:39 PM

<font size="3">And it also should be posted that it is not supported. Keptic claims that he is supporting the hack but if you read postings you'll find their are no responses. Really too bad since this is a great idea in my opinion. Install at your own risk.</font>

cinq 06-17-2003 01:15 AM

Quote:

06-08-03 at 03:53 PM Rhymology said this in Post #462
this didnt work for me...im getting this


Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12


Did u do the neccessary code change in your adminfunctions.php file in the admin directory as mentioned in the readme ?

DrkFusion 06-17-2003 02:34 AM

Sorry about the slow development proccess.

First of all at the top it says The hacker cannot guarantee to provide support for this hack.
Though this will fully change with the release of vB Links Directory 3.0 for vB2.0. I understand this is a very good hack, but the original hacker is not around, and so I will be continuing where he had left off with the new development of vB Links Directory 3.0, and an update to vB Links Directory 2.0. The updated version will come with major code fixes, and I will be taking few days to go through this thread to find all bugs and fix them.

2nd, vB Links Directory is being aimed for a release next week, and may I say, this is one full featured system you will love, especially because of the price for this sort of system. The user interface and onsite administration is fully functional. We will be recoding the admin panel script by the start of June 20th.

I will also take the time to setup a site, as this thread is getting a bit confusing to follow :p, you will be able to submit all bugs there, and get addons etc.

On another note, I have noticed many of you are not reading the instructions fully, many of your problems are a result of this, the maketableheaderview is a function added to adminfunctions so the table is able to spread to allow for the vB Links Directors administration. Please again read carefully and FOLLOW EVERY SINGLE THREAD. With the updated vB Links Directory 2.0 I will provide full support.

Please bare with me, and the others who are looking to see that we release the hacks quickly, we really need your co-operation for this, and will appreciate all your patience.

Now for news about vB3, we may be holding off on a vB3.0 development to move to a retail version in partnership with N!CK, but this is not final, so please do not quote me on this, again NOT FINAL decision, its a 50/50 right now.

That is all regarding this hack for today. Thanks again to all the people who installed this hack, the original author will be very proud of how much this hack as grown in users.

AuthorZone.Com 06-28-2003 10:23 AM

I installed this cool hack BUT

take a look:
http://www.authorzone.com/forums/links.php?action=main

It is not implementing my template properly.

Can you please help?

Also, how can I make it so only members belonging to a certain group can post links?

Thank you again for this cool hack.

Max

97cobracpe 06-28-2003 04:24 PM

Quote:

04-24-03 at 12:31 PM papa said this in Post #452
Quick question for you guys.
my links are getting lots of hits and I have notices once they pass 99 hits they don't carry on in the top ten but move to the bottom of the list. back to 1 or 2. So how can I make it count past 99 and into a thousand?

Thanks in advance.

Quote:

05-31-03 at 12:32 PM brianstevz said this in Post #458
First off - great hack guys. I installed this one as soon as I saw it. One issue that came up however is that the top ten list. Once a site has 10 hits or more, it moves off the top 10 board. Is there any way to fix this?

Brian


Do you have direct access to you database? If so, do the following:

In the gportal_weblinkslink table, the field named 'hits' has the datatype set to 'text'. Change it to 'int'. I did it on my site, and it worked with no lost information in the hit counters. They all remained intact.

Otherwise, I could modify the install script that when it creates the tables for the database it has the change built it. You would end up having to uninstall the hack, upload the new modifed installer script, and run the new one instead. You would lose all your links this way and have to start over.

97cobracpe 06-28-2003 04:32 PM

Quote:

06-08-03 at 01:53 AM Rhymology said this in Post #462
this didnt work for me...im getting this


Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12

Try to add a category using the 'add catergory' link first. Then goto 'view/edit' link to manage the categories and what not.

Also, did you remember to go into your 'vbulletin option' area, and click the submit button? You should do this whether or not you need to make changes to it so the hack will work properly.

97cobracpe 06-28-2003 05:07 PM

Quote:

Today at 06:23 AM AuthorZone.Com said this in Post #467
Also, how can I make it so only members belonging to a certain group can post links?
Find this code in links.php (around line 51)
PHP Code:

// #################### Add Link ####################
if ($action=="addlink") {
  if (
$bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0") {
      eval(
"dooutput(\"".gettemplate('drkslinks_error1')."\");");
      }else{ 

this part of the code
PHP Code:

$bbuserinfo[usergroupid]=="1" 

is what blocks certain user groups from adding links. By default anyone not logged in cannot upload while all other members can. Simply add groups that you do not wish to add new links to the above code. Lets say I don't want the standard members (on my site the groudid for the standard members is 2) to add links, the code would look like this:
PHP Code:

// #################### Add Link ####################
if ($action=="addlink") {
  if (
$bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0" or $bbuserinfo[usergroudid]=="2") {
      eval(
"dooutput(\"".gettemplate('drkslinks_error1')."\");");
      }else{ 

Noticed the change? I simply added another or statement and put in another group to exclude. Do this for any usergroups you wish to exclude from adding links.

The may want to edit the drkslinks_error1 template as well. It's the template that tell's you that your not logged in. It should also tell you that you might not have permission to add links as well. This way members who are logged in that don't have permission to add links will be aware that they can't.

Hope this helps.


All times are GMT. The time now is 01:10 AM.

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.01802 seconds
  • Memory Usage 1,762KB
  • 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
  • (3)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
  • (2)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