Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BIG problems with php in non vb page :( Details »»
BIG problems with php in non vb page :(
Version: , by JC JC is offline
Developer Last Online: Jul 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-27-2003 Last Update: Never Installs: 0
 
No support by the author.

I have www.707imports.com

Im usin that php in the non vb page hack from a while back, it works but like...when ur not logged in, and you try to go to the .com site it comes up with the login screen of the vb msg board and the links are all broken, if you try to login it says it can't find the member.php , WHY?

Also, i want to make it so it displays the newest like 5 posts and have a search engine, HOW!? anyone wanna help for CASH!?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-27-2003, 11:39 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My guess.

Your index.php for the site as shownopermissions in it somewhere. As far as the login gose. Well the file is not in the vB root directory, the the login only points to member.php. So you will have to stick the direct path to the file in the template.
Reply With Quote
  #3  
Old 01-28-2003, 12:13 AM
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
Location: California, USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you be more specific?

What template do I need to change?

Thanks anime
Reply With Quote
  #4  
Old 01-28-2003, 12:14 AM
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
Location: California, USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have shownopermissions in my .com index.php - do you mean the vb index.php ? Thanks again.
Reply With Quote
  #5  
Old 01-28-2003, 12:18 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you using vBindex?
Reply With Quote
  #6  
Old 01-28-2003, 12:20 AM
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
Location: California, USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was usin this...

Welcome/Login from non-vB Pages
===============================
Version 1.30 14 September 2002

Should i use vbindex?
Reply With Quote
  #7  
Old 01-28-2003, 12:24 AM
JC's Avatar
JC JC is offline
 
Join Date: Sep 2002
Location: California, USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just searched and saw vbindex, it looks pretty dope.

The thing is... I dont' want to have to redo my site to work with that... the one I'm usin jus let's you sorta copy paste into your index.php ( .com ) is this the same?

Anime-Loo, how much would it cost to have you do this for me buddy ole' pal? I'm strapped for time and patience!
Reply With Quote
  #8  
Old 01-28-2003, 12:42 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Send me a copy of your index.php. Via email:

brad@kousetsu.net

ill have a look
Reply With Quote
  #9  
Old 01-28-2003, 12:58 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok you have your forum closed to guest, thats why its doing this why you include global.php in the file. you can do one of two things. Open the board to guest. or change a template so it points to member.php correctly and change the { imagefolder } call so the images will not be broken when someone gets the error on index.php.

Directions:

------------------------------------------------------------
Open template: error_nopermission_loggedout
------------------------------------------------------------

## Find:

Code:
<form action="member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
## Change to:

Code:
<form action="/path/to/vB/directory/member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
Change this bit of code to suit your server:

/path/to/vB/directory/member.php

Next, under Replacments click the modify link.

## Find (without the spaces): { imagesfolder }

Click edit and change this to the directpath to the image folder. for example mine is set to http://www.kousetsu.net/forums/images insted of /images.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:07 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.11147 seconds
  • Memory Usage 2,277KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete