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

.Tim 03-12-2006 07:46 PM

Quote:

Originally Posted by CSS59
done. My images don't show up. I have them all saved in forums/images/banners ?

It's looking in root/images/banners. Try changing:

Code:

$direktory = "./images/banners";
to:

Code:

$direktory = "./forums/images/banners";
And

Code:

$bild = "./images/banners/$file";
to:

Code:

$bild = "./forums/images/banners/$file";
in your LinkMe.php file.

CSS59 03-12-2006 07:49 PM

[quote]Warning: opendir(./forums/images/banners): failed to open dir: No such file or directory in /LinkMe.php on line 24

Warning: readdir(): supplied argument is not a valid Directory resource in /LinkMe.php on line 25

Warning: asort() expects parameter 1 to be array, null given in /LinkMe.php on line 28

Warning: Variable passed to each() is not an array or object in /LinkMe.php on line 29

.Tim 03-12-2006 07:52 PM

In your vboptions what do you have the url set to?

CSS59 03-12-2006 07:57 PM

Quote:

Originally Posted by .Tim
In your vboptions what do you have the url set to?

Code:

<IMG SRC=\"$vboptions[bburl]/forums/images/banners/".$file."\">

.Tim 03-12-2006 08:02 PM

Quote:

Originally Posted by CSS59
Code:

<IMG SRC=\"$vboptions[bburl]/forums/images/banners/".$file."\">

No I meant in your admincp in your options. What is your site url set to?

CSS59 03-12-2006 08:10 PM

Quote:

Originally Posted by .Tim
No I meant in your admincp in your options. What is your site url set to?

http://domain.com

.Tim 03-12-2006 08:12 PM

Quote:

Originally Posted by CSS59

Change it to http://domain.com/forums

and then redo what I posted here:

https://vborg.vbsupport.ru/showpost....77&postcount=9

Barakat 03-13-2006 01:13 AM

works great thanks

dodgechargerfan 03-14-2006 05:00 PM

Neat!

How tough would it be to make the link work from a portal page like drupal (with the vBdrupal integration product)?

derfelix 03-15-2006 09:29 AM

well with me it doesn't work as is..

$vboptions[bburl] is empty in a php file!

i have to use $vbulletin->options['bburl'] instead!!!

actually i have to replace:

<IMG SRC=\"$vboptions[bburl]/forums/images/banners/".$file."\">

with

<IMG SRC=\"".$vbulletin->options['bburl']."/forums/images/banners/".$file."\">

and so on....

arer u sure this is for 3.54???????

Felix


All times are GMT. The time now is 02:50 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.01101 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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