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)
-   -   Instant Txt/ Html/ Java File Forum Integration (https://vborg.vbsupport.ru/showthread.php?t=66084)

redlabour 03-08-2005 07:49 PM

Sorry Guys - it doesn?t work for me :

http://www.www.redlabour.de/forum/ht...impressum.html

as Example. :(

Erwin 03-10-2005 08:13 PM

Quote:

Originally Posted by redlabour
Sorry Guys - it doesn?t work for me :

http://www.www.redlabour.de/forum/ht...impressum.html

as Example. :(

You need to put the HTML file in the same or higher directory (not below), and you cannot link to http:// remote addresses.

seiken2099 03-26-2005 12:53 AM

Excellent hack!

ChrisBaktis 03-26-2005 01:52 AM

How do I use subforms with this hack? I would like to keep the HTML files organized in a sub directory off the main forums directory.

Erwin 03-28-2005 03:50 AM

Quote:

Originally Posted by ChrisBaktis
How do I use subforms with this hack? I would like to keep the HTML files organized in a sub directory off the main forums directory.

Read the first post.

ekopapers 03-30-2005 02:59 PM

*clicks installs

very nice had to use an inline frame however to get my script to work with it. either way I am very happy with it. integrated my store into my site nicely :)

yinyang 05-09-2005 05:07 PM

is there a way to use PHP files with this? if so, how?

Rob Locke 06-02-2005 02:08 PM

This is fantastic!!! May I ask a few little questions?

1) Can I include vb code in the html file and will it be parsed? For example, can I set the parameters of a table to: cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" and so on?

Another example, can I include a signature using:

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

I think you get the picture.

2) Specifically I would like to use css styles that match my vb style. Is it simply a question of linking the html file to the vb stylesheet?

3) Can you add a little variable that allows specific users as well usergroups to integrate files?

If the parsing does not work at this time, please may I request you add it to the next version? To be able to utilize all the benefits of html, combined with vb functionality and style settings will be superlative.

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

One last thing...would it be possible to create a version of this hack which allows you to integrate html into a specific post? The use of html in the message editor is very limited. For example, using tables and div or span tags throws the layout way off (I guess this is because the message editor recognizes a hard return as a line break). To have specific users and/or usergroups (overriding the forum html posting defaults) able to include a separate html file (with full vb parsing enabled) would make you the KING in my opinion. It would be one of the most useful additions I can think of. If you can do this, may I ask you bear in mind the thread previews, which show non-parsed html when you mouseover them? Perhaps in the message editor, you can include a bbcode that wraps around text, which is just for the thread preview and is automatically hidden in the post. Perhaps another bbcode links to the html file and is automatically hidden from the thread preview? I know thousands of vb users would worship the ground you walk on for this!

Thanks again for all your amazing work,

Rob.

oceanart 06-02-2005 03:50 PM

Would this be the best way of adding "About Us" page. I haven't found an add-on for only "about us" so I am considering to use this addition. I would like the same solution as "contact us" however I need to add a picture, some text and address, instead of form with all the header, footer content.

I thought to create it in Html and just integrate using the add-on. Is this the best approach?

I also considered the following

How to create your own vBulletin-powered page!
https://vborg.vbsupport.ru/showthread.php?t=62164

Fast access to forum rules from anywhere
https://vborg.vbsupport.ru/showthrea...threadid=34861

Instant Txt/ Html/ Java File Forum Integration
https://vborg.vbsupport.ru/showthread.php?t=66084

WebTemplates 3.x: VB Integrated Content Management System
https://vborg.vbsupport.ru/showthread.php?t=76422

Erwin 06-02-2005 11:28 PM

Quote:

Originally Posted by oceanart
Would this be the best way of adding "About Us" page. I haven't found an add-on for only "about us" so I am considering to use this addition. I would like the same solution as "contact us" however I need to add a picture, some text and address, instead of form with all the header, footer content.

I thought to create it in Html and just integrate using the add-on. Is this the best approach?

I also considered the following

How to create your own vBulletin-powered page!
https://vborg.vbsupport.ru/showthread.php?t=62164

Fast access to forum rules from anywhere
https://vborg.vbsupport.ru/showthrea...threadid=34861

Instant Txt/ Html/ Java File Forum Integration
https://vborg.vbsupport.ru/showthread.php?t=66084

WebTemplates 3.x: VB Integrated Content Management System
https://vborg.vbsupport.ru/showthread.php?t=76422

You can use any of those methods. :)

Marcus Lau 06-29-2005 04:31 PM

Hi all,

I check already and everything seems to be ok in the html.php using dreamweaver php editor:

however i still encounter this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /yourforums.com/public_html/forums/html.php(65) : eval()'d code on line 10

Alright, that is for .txt

thanks in advance

Marcus Lau 06-29-2005 04:37 PM

i found another one with regards to .html

Warning: fopen(index.html): failed to open stream: Permission denied in /html.php on line 48

Warning: fread(): supplied argument is not a valid stream resource in /html.php on line 49

Warning: fclose(): supplied argument is not a valid stream resource in /html.php on line 50

thanks

Marco van Herwaarden 06-30-2005 07:12 AM

Quote:

Originally Posted by Marcus Lau
Hi all,

I check already and everything seems to be ok in the html.php using dreamweaver php editor:

however i still encounter this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /yourforums.com/public_html/forums/html.php(65) : eval()'d code on line 10

Alright, that is for .txt

thanks in advance

Don't use Dreamweaver to edit your files. DW is trying to 'help' you by adding things that will kill your page.

Marcus Lau 06-30-2005 01:06 PM

But brother ... for the html.php i did not edit any single file i just follow instruction from erwin and then just upload and those are the errors i encounters when trying to locate a .txt and .html file.

Please advice ... thanks!

fiber1 07-03-2005 02:34 AM

Is there anyway this can be modified to pulll my other websites html pages?

Rastus 10-11-2005 03:14 PM

Getting this error on 3.5

Fatal error: Call to undefined function: gettemplate() in /newhome/******/public_html/html.php on line 48

Colejo 10-17-2005 08:43 AM

Is there a way to get this to work on 3.5 Gold?

SnowBot 10-19-2005 10:58 AM

This is the only hack i am missing now for 3.5 GOLD

Any updates Erwin ?

Thanks

mavherzog 12-05-2005 03:58 PM

Quote:

Originally Posted by SnowBot
This is the only hack i am missing now for 3.5 GOLD

Any updates Erwin ?

Thanks

Ditto for me. I'd love to have this functioning on my newly-installed 3.5.1 site.

drex 01-17-2006 10:39 AM

Another request for 3.5.3.........

please!

SKNY 01-18-2006 10:14 PM

Not officially from Erwin,

but if you download his basic file from above and are unable to get it to work on you vBulletin 3.5.X Version you have to make a small fix. A function used by this Modification was replaced with another one for the 3.5.X series.

I have it currently working on 3.5.3, but it should work with the 3.5.X series.

So the fix to get it working on 3.5.X. (Special thanks to Paul M for this coding help)

Step 1: Download file above.
Step 2: Search for:

Code:

globalize($_REQUEST, array(
'file' => STR,
'title' => STR
));

Step 3: Replace With

Code:

$vbulletin->input->clean_array_gpc('r', array(
    'file' => TYPE_STR,
    'title' => TYPE_STR,
)); 

$file = $vbulletin->GPC['file'];
$title = $vbulletin->GPC['title'];

It should start working after doing this. I'll be glad to help anyone who needs additional help since no Erwin since June. (Hope you don?t mind Erwin =) )

drex 01-19-2006 08:58 AM

nevermind!

fixed my own stupid error!

Thank you so much!

oberheimer 01-21-2006 12:52 AM

Ok saw the abow post, this should fix the problem, thanks

rex_b 05-15-2006 02:16 PM

Thanks for the fix ;)

yoyoyoyo 12-03-2006 07:29 PM

Quote:

Originally Posted by SKNY (Post 876594)
Not officially from Erwin,

but if you download his basic file from above and are unable to get it to work on you vBulletin 3.5.X Version you have to make a small fix. A function used by this Modification was replaced with another one for the 3.5.X series.

I have it currently working on 3.5.3, but it should work with the 3.5.X series.

So the fix to get it working on 3.5.X. (Special thanks to Paul M for this coding help)

Step 1: Download file above.
Step 2: Search for:

Code:

globalize($_REQUEST, array(
'file' => STR,
'title' => STR
));

Step 3: Replace With

Code:

$vbulletin->input->clean_array_gpc('r', array(
    'file' => TYPE_STR,
    'title' => TYPE_STR,
)); 

$file = $vbulletin->GPC['file'];
$title = $vbulletin->GPC['title'];

It should start working after doing this. I'll be glad to help anyone who needs additional help since no Erwin since June. (Hope you don’t mind Erwin =) )

I did the changes and no content being pulled in from the text file I am pointing to. any help is appreciated.

frenzi 03-24-2008 09:31 PM

....................


All times are GMT. The time now is 11:20 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.01178 seconds
  • Memory Usage 1,796KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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