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)
-   -   Tutorial Hack (https://vborg.vbsupport.ru/showthread.php?t=58919)

corsacrazy 12-04-2003 02:29 PM

what about most popular tutorial and how total tutorials on forum home ?

assassingod 12-04-2003 03:00 PM

Quote:

Originally Posted by corsacrazy
what about most popular tutorial and how total tutorials on forum home ?

I'll add those after tutorial moderation and edit feature

assassingod 12-04-2003 04:05 PM

Update:
[IMG] tags and [BB]Code working:

Find (194):
PHP Code:

    $tut[tutpagetext] = bbcodeparse($tut[tutpagetext],0,0,0,0); 

Replace with:
PHP Code:

    $tut[tutpagetext] = bbcodeparse2($tut[tutpagetext],0,1,1,1); 

Updating ZIP in a minute

bandersen 12-04-2003 05:56 PM

Thank you - I have installed and its working! Looking forward to the rest... Thanks again!

corsacrazy 12-04-2003 06:18 PM

bb and img code was working alread wots the fix for mate ?

assassingod 12-04-2003 06:19 PM

Quote:

Originally Posted by corsacrazy
bb and img code was working alread wots the fix for mate ?

Hm, I was told they didn't. Anyway, this code defintly works now:)

Allan 12-05-2003 06:16 AM

hello:)
I have to replace the file "tutorials.php", and following that, I have this like error:

PHP Code:

Database error in vBulletin 2.3.0:

Invalid SQL
        
SELECT tutid,tutname,tutposted,tutposterid,tutmodded,tutpostername,tutvotes,tutviews
        FROM tutorials
        WHERE tutcat 
'1'
        
ORDER BY tutposted ASC
    
mysql error
Champ 'tutmodded' inconnu dans field list 


assassingod 12-05-2003 06:26 AM

Whoops, I accidently had the tutorial moderation feature in there( uncomplete )
Run this query to fix:
[SQL]
ALTER TABLE tutorials ADD tutmodded INT(10)
[/sql]

OR

You can open tutorials.php and find (Line 310):
PHP Code:

tutmodded

remove that and find and remove (line 311):
PHP Code:

'0'


Allan 12-05-2003 07:30 AM

Quote:

Originally Posted by assassingod
Whoops, I accidently had the tutorial moderation feature in there( uncomplete )
Run this query to fix:
[SQL]
ALTER TABLE tutorials ADD tutmodded INT(10)
[/sql]

OR

You can open tutorials.php and find (Line 310):
PHP Code:

tutmodded

remove that and find and remove (line 311):
PHP Code:

'0'


thanks ;)

FleaBag 12-05-2003 05:34 PM

Very happy to see that you've been working on moderation mate - made my day hehe!

About to install in replacement of vBArticles - are the fixes mentioned in this thread included in the first zip?


All times are GMT. The time now is 10:07 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.01415 seconds
  • Memory Usage 1,747KB
  • 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
  • (7)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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