vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vbTags - a web2.0 like tag thread hack for vbulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=113746)

bashy 04-22-2006 07:04 PM

Hi devguru

No probs on the support m8....
My PHP is 4.4.1

The auto tag side of this i will take a look now :)

bashy 04-22-2006 07:22 PM

Ok...I have filled in my database information...
I am a little lost as to what happens next..

It says sommat about keywords and forum ID but i dont see anything in the files to sort out..

Can you explain this a little further and what happens once the files are configured correctly please? :)

devguru 04-22-2006 07:54 PM

Quote:

Originally Posted by bashy
Ok...I have filled in my database information...
I am a little lost as to what happens next..

It says sommat about keywords and forum ID but i dont see anything in the files to sort out..

Can you explain this a little further and what happens once the files are configured correctly please? :)

say , i see you have a tutoria forum in your forums, forum id is 113, you want to this tools tag all the thread that replycount>10 , views > 300 with 'tutorials' keyword'

you have to edit function autotaglist(), add

'113' => array('tutorials'),


to $fields arrary .

then run command 'php auto_tag.php'

devguru 04-22-2006 08:02 PM

bashy, I have resolved the probrem about the the thread permission(don't show the tag thread to no permission user);

I am not sure why the tag list of the thread does not show up in your forums , could you help me check in your forum:

put

Code:

$thread_tags='';
above
Code:

function getTagCloudSize($popularity,$maxpopularity)
in tag_function.php

I wish this modification will fix this probrem. if this is done, i will update the current version .

devguru 04-22-2006 08:08 PM

Quote:

Originally Posted by COBRAws
Any live demo? This is really cool! But I want to live-test first.

I have a big Chinese forum run this hack: http://www.canadameet.com/forums/ , you can see also http://www.canadameet.com/forums/tag.php.

it looks much better while you got a lot of tags ...

bashy 04-22-2006 08:08 PM

Hi m8

Just done the edit and sent you admin login deets by pm....

bashy 04-22-2006 08:16 PM

right then just so that i dont mess things up

I take it the
Code:

'113'                => array('tutorials'),
gones somewhere in the code below, i just need you to point exactly where please :)


Code:

/* auto tag thread with forum id and keyword
 * $config['replycount'] = 10; // auto tag condition: the thread's replycount>10
 *  $config['views'] = 300; // auto tag condition: the thread's views>300
 *  example
        '14'                => array('vancouver'),
        '15'                => array('toronto'),
        * */ 


function autotaglist()
{
        $fields = array(
               
        );
       
        return $fields;
}



?>

Quote:

Originally Posted by devguru
say , i see you have a tutoria forum in your forums, forum id is 113, you want to this tools tag all the thread that replycount>10 , views > 300 with 'tutorials' keyword'

you have to edit function autotaglist(), add

'113' => array('tutorials'),


to $fields arrary .

then run command 'php auto_tag.php'


devguru 04-22-2006 08:29 PM

Quote:

Originally Posted by bashy
right then just so that i dont mess things up

change:

PHP Code:

    $fields = array(
        
     ); 

to
PHP Code:

$fields = array(
'113' => array('tutorials'),
); 


bashy 04-22-2006 08:37 PM

Cheers m8 that sorted it out :)

Tell ya what though, i wish i didnt go through all the tutorials this afternoon and add a tutorial tag to each of the tutorials ha ha ha ha :o

Quote:

#!/usr/bin/php Database Connected successfully ==================================== Now processing auto tags ==================================== Processing thread in forum 113 Total records: 0 . Done! Process completed!
Quote:

Originally Posted by devguru
change:

PHP Code:

    $fields = array(
        
     ); 

to
PHP Code:

$fields = array(
'113' => array('tutorials'),
); 



Torqued 04-22-2006 08:43 PM

Can you have tags that are more than one word?


All times are GMT. The time now is 01:48 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.01665 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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