vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - PayPal Easy Donate - vB 3.6 (https://vborg.vbsupport.ru/showthread.php?t=123181)

corsacant 09-22-2006 05:13 PM

I have a problem not covered so far. My forum is installed under forums/, I have the donate image on the top right hand side of my header and all works fine when browsing through the forums, but i also have vBadvanced CMPS installed and when browsing the home page the donate link doesn't work. This is because the file it is looking for is located in the forums/ folder and not in the root folder. is there any way i can alter the code for just that page to make the link work?
Thanks, Lee.

DementedMindz 09-22-2006 05:43 PM

The easier thing to do would be to right click it and see where the image location is and add the image to that folder to. This way you dont have to edit a few things.

corsacant 09-22-2006 08:48 PM

Sorry I haven't explained myself properly, the actual image link is working fine, but when you click on the link it says page not found. I need to manually edit the file to point to the right folder where the .php file is.
My problem is that I haven't a clue what/where to edit.

DementedMindz 09-22-2006 09:31 PM

hmm do you have a link I can look at? I dont use that part so I would have to see. You maybe able to change billspp_buttoninsert if its the one it is and try this

change the whole template to this

Code:

<!-- PayPal Donations Button -->
<div align="right"><a href="$vboptions[bburl]/paypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>


corsacant 09-22-2006 09:52 PM

the link to the page with the problem is www.allcorsa.co.uk

DementedMindz 09-22-2006 09:55 PM

have you tried what I posted?

DementedMindz 09-22-2006 09:56 PM

you need to fix a few links in the navbar also on your vbadvanced page.

Emanet-Kaos 09-23-2006 04:56 AM

thanks very much Billspaintball !

Shazz 09-23-2006 05:04 AM

I have tried a ton, And i like this the most ! *clicks install

corsacant 09-23-2006 09:05 AM

Quote:

Originally Posted by DementedMindz
hmm do you have a link I can look at? I dont use that part so I would have to see. You maybe able to change billspp_buttoninsert if its the one it is and try this

change the whole template to this

Code:

<!-- PayPal Donations Button -->
<div align="right"><a href="$vboptions[bburl]/paypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>


Thanks, that worked. I did have to change the
Code:

"$vboptions[bburl]/paypal.php"
to
Code:

"$vboptions[bburl]/billspaypal.php"
but it works fine now.
Also you mentioned some of my links are broken on my homepage, can you tell me which ones because they all seem ok to me.


All times are GMT. The time now is 02:06 AM.

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.01474 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)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