![]() |
|
|
Article Options |
|
#76
|
||||
|
||||
|
Hello,
If would like to use many PHP files on URL can we do something like:
?????????? No members have liked this post.
|
||||
|
#77
|
||||
|
||||
|
You should be able to do this (use ob_get_clean() instead of ob_get_contents()):
I think if you want you could also put a preRegister call after each call to ob_get_clean() so you wouldn't need a bunch of different variables.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
Last edited by kh99 : 26 Jun 2012 at 18:33. |
||||
|
#78
|
||||
|
||||
|
I've tried the following code. But whenever you click a user thread, no matter what thread you click, it always brings us to the same thread.
any help? No members have liked this post.
|
||||
|
#79
|
|||
|
|||
|
Hello guys,
I finally achieved it!! I did a small tutorial about making External PHP files that can be used as Widgets in vBulletin CMS. I do not know if I can post links here ... but here is the tutorial ... I think someone might find it useful in the future. http://www.hyperlinkbuilding.org/con...idget-Tutorial Greetings, Eddie --------------- Added 29 Jun 2012 at 21:14 --------------- I have to say something else ... Thanks a lot for trying helping me!! I will help others whenever I can. No members have liked this post.
|
|
#80
|
||||||||
|
||||||||
|
I am helping a friend out to try and display his wordpress header above his vb forums header, im using the code below in the plugin and calling it in the header template:
but get the following errors:
Im running Wordpress 3.4.1 and vb 4.1.12, any ideas how to solve this? No members have liked this post.
|
||||||||
|
#81
|
|||
|
|||
|
check your php.ini and server configurarion ... I think you cannot require_once an URL ....
No members have liked this post.
|
|
#82
|
||||
|
||||
|
Ive set allow_url_include=1 in php.ini now that gets rid of the first error, still the other two errors:
Any ideas guys? No members have liked this post.
|
||||
|
#83
|
|||
|
|||
|
Sorry, i have no idea... but i think it has to do with the streams or paths ...
No members have liked this post.
|
|
#84
|
||||
|
||||
|
You can't do a require_once on an http:// URL... you can only require (or include) on a local file on your server and it has to be by a local path.
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. No members have liked this post.
|
|
#85
|
||||
|
||||
|
Originally Posted by BirdOPrey5
Even with that as below im getting the exact same error messages:
I just dont want to have to copy the html and css manually into vbulletin ![]() No members have liked this post.
|
||||
|
#86
|
||||
|
||||
|
I noticed in the error message above and in the one you posted on vbulletin.com that there's a space between wp- and content. It should be all one word, so maybe try taking out whatever character that is (so it reads require_once('/home/alhussai/public_html/wp-content/themes/Karma/header.php', all on one line).
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
|
#87
|
||||
|
||||
|
Thanks for the reply the error seem to have gone and now its giving just this:
--------------- Added 26 Jul 2012 at 15:51 --------------- Removed language_attributes() from header.php now just a blank page now errors :/ No members have liked this post.
|
||||
|
#88
|
||||
|
||||
|
I think the header.php is depending on some Wordpress functions that you aren't including.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
|
#89
|
||||||||
|
||||||||
|
Hello,
am a new Owner of vb4.2 and would like to add an echo Script. Unfortunately, this does not in the Templates, the Output will always appear at the top left. What can I do? I use the Standart Style! Please help me.. I have add a Plugin:
and add this in a Template
still not Work, all other Sample here in Forum not Work. The same Script tested in the Customer Sidebar, thats Works fine ![]() No members have liked this post.
|
||||||||
|
#90
|
||||
|
||||
|
Try this:
but change 'template' to the name of the template where you want to include the output. (you may not need the ob_get_contents(), but I'm not sure if the echo script creates any output other than the $back value).
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
||||
![]() |
«
Previous Article
|
Next Article
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Article Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 18:21.





