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)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

deepdark 04-30-2003 09:36 PM

Here is the solution for the IMG code....

Version: vbHomeLite 4.2

resolve issue with no bbimagecode-parsing:
Files to modify: vbHomeLite 'global.php'

------------------------------------------------------------------
1) find in 'global.php':
------------------------------------------------------------------

function codeparse( $bbcode , $allowsmilie=0 )
{
global $allowhtml,$activebbcode,$activesmilie;

$dohtml = $allowhtml;
$dobbcode = $activebbcode;
$dosmilies = $activesmilie;

return makecodeparse( $bbcode , $dohtml , $dosmilies , $dobbcode );
}
------------------------------------------------------------------
replace with:
------------------------------------------------------------------
function codeparse( $bbcode , $allowsmilie=0 )
{
global $allowhtml,$activebbcode,$activesmilie;

$dohtml = $allowhtml;
$dobbcode = $activebbcode;
$dobbimagecode = $activebbcode;
$dosmilies = $activesmilie;

return makecodeparse( $bbcode , $dohtml , $dosmilies , $dobbcode, $dobbimagecode );
}

------------------------------------------------------------------
2) find in 'global.php':
------------------------------------------------------------------

function makecodeparse( $bbcode , $dohtml , $dosmilies , $dobbcode )

------------------------------------------------------------------
replace with:
------------------------------------------------------------------

function makecodeparse( $bbcode , $dohtml , $dosmilies , $dobbcode, $dobbimagecode )

------------------------------------------------------------------
------------------------------------------------------------------

Now set in admincp -> vBulletin Options -> [Front Page]:
'Enable BB Code in article?' to yes.

Hope that helps!!
Please correct me, if I'm wrong.

Greetz, Magic Spark

Tigga 04-30-2003 10:08 PM

Quote:

Today at 11:04 AM deepdark said this in Post #2887
@Tigga i am a begginer here and if you wish to help me you can explain to me how to make the images showing like image not like a link?
Not to be rude, but did you even read what I quoted from the first post in this thread? Specifically "I will not answer anymore to any questions in this thread, that's why we have forums.". If you have a problem with the script I'm sure you would get some help if you posted on Teck's forums.

deepdark 05-01-2003 05:04 PM

ok and what is the problem where i am posting but like i see that forum wants to grow with this kind of S***t if you want help blablalba register at my forum hohohoho what a rumor :(

rzotz 05-01-2003 06:14 PM

Need help from anyone..

I did this hack, and now the main page nothing seems to be working. Take a look:

http://www.sah2o.com

The forum works fine at http://www.sah2o.com/forum

But the images, and news, and latest posts, etc are not showing up. Any help would be apperciated. Thanks.

Tigga 05-01-2003 09:36 PM

Quote:

Today at 02:04 PM deepdark said this in Post #2893
ok and what is the problem where i am posting but like i see that forum wants to grow with this kind of S***t if you want help blablalba register at my forum hohohoho what a rumor :(
Personally that's not the way I would do things - that's just me though. Considering the fact that Teck is releasing his product here for free though, I don't think his request that support be handled on his own forums is too much to ask, and I'm sure he has his reasons for this.

Genocide 05-02-2003 03:33 AM

I followed the instructions to the T...

and when I went to my home page it showed this:


There seems to have been a slight problem with the The Crossover To Illness database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vbHome 2.3.0:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1051847882

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND dateline>1051847882' at line 3

mysql error number: 1064

Date: Friday 02nd of May 2003 12:23:53 AM
Script: http://www.emceecentral.com/forums/
Referer:



whats wrong with it... can u tell what to do
I think its the vbinstall.php... do I need to edit that?
Cuz Ive edited the otha php's... and upload them along with
the other stuff to the right places... and I uploaded the vbhinstall
to my forums/admin folder...

rzotz 05-02-2003 11:50 AM

Mine still isn't workng and it seems no one is helping.

Quote:

Yesterday at 11:33 PM Genocide said this in Post #2896
I followed the instructions to the T...

and when I went to my home page it showed this:


There seems to have been a slight problem with the The Crossover To Illness database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vbHome 2.3.0:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1051847882

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND dateline>1051847882' at line 3

mysql error number: 1064

Date: Friday 02nd of May 2003 12:23:53 AM
Script: http://www.emceecentral.com/forums/
Referer:



whats wrong with it... can u tell what to do
I think its the vbinstall.php... do I need to edit that?
Cuz Ive edited the otha php's... and upload them along with
the other stuff to the right places... and I uploaded the vbhinstall
to my forums/admin folder...


TECK 05-02-2003 08:51 PM

Quote:

Today at 05:33 AM Genocide said this in Post #2896
I followed the instructions to the T...

and when I went to my home page it showed this:


There seems to have been a slight problem with the The Crossover To Illness database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vbHome 2.3.0:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1051847882

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND dateline>1051847882' at line 3

mysql error number: 1064

Date: Friday 02nd of May 2003 12:23:53 AM
Script: http://www.emceecentral.com/forums/
Referer:



whats wrong with it... can u tell what to do
I think its the vbinstall.php... do I need to edit that?
Cuz Ive edited the otha php's... and upload them along with
the other stuff to the right places... and I uploaded the vbhinstall
to my forums/admin folder...

Search the thread or the support forums... it was answered 485 times.

Genocide 05-03-2003 01:05 AM

where's the support forums... give me a link

Andrew111888 05-03-2003 02:33 PM

For some reason when I go to my index, it says there is an article, it has a box, but the article is not displayed. Why is this?


All times are GMT. The time now is 02:57 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.04578 seconds
  • Memory Usage 1,759KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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