![]() |
Quote:
From here I would recommend adding back that code one section at a time till we find the bit that breaks it. As for the Avatars, are your avatars stored in the database or in the filesystem? There is a problem if they are stored in the filesystem. |
This may sound petty: but any way to get the form's code to validate? I'm not a javascript guy so I don't know all the tricks to get the code to validate.
|
I use this script on an secound server. It works very find.
But I have one Problem. The Script opens this connection to the firs (forum) server.It opens many many from this connection. But it dount close it. Code:
| 13745 | web1 | MySecoundServer.com:53717 | usr_web1_2 | Query | 43 | Writing to net | SELECT * Any ideas ? GreeTz Snatch |
See Post Below
|
Is there anyway for this hack to work where the forums on a different physical server, though they are a subdomain of the other site in question.
For example: mysite.com on server IP 192.168.0.100 forums.mysite.com on server IP 192.168.0.101 Possible? |
See Post Below
|
see post below
|
Quote:
Subdomains are a knowen problem. One thing I would suggest is to clear your cookies (tools -> Internet Options -> Delete cookies) then force a page refresh (CTRL + F5) and see if that helps. |
Quote:
|
Hi Bill,
I have been literally working on this for 5 hours. I moved the forum from the subdomain of forums.supermandatabase.com to supermandatabase.com/forums to run this script. I am running vb 3.6.4. After no success of getting the Welcome 'user' to work once logged in I created a test.php with no other code bu the code supplied in the zip file. Here is what I have: Code:
<?php So I go to supermandatabase.com/forums/test.php and I login. It takes me to the vBulletin login and process me and redirects me back to test.php and I see Welcome Superman! and "This is only visible to people in usergroup 6" But when I click log out, it takes me to vBulletin and says cookies cleared, but when I go back to test.php I see the Welcome Superman I can't logoff via the test.php SOLVED!!! In EXPLORER: Exact opposite happens. I go to test.php, enter information, and I am processed and redirected back expect I don't see Welcome Superman! I see the login information without the "This is only visible to people in usergroup 6" being echoed. I am also getting a warning message that says "Problems with this web page might prevent it from being displayed properly. Line : 9 Char: 1 Error: Expected '(' Code: 0 I have no clue what to do. The cookies are set to "/" and not '/forums/" Any suggestions or anyone else had this issue? Thanks in advance for the help. |
Quote:
I figured out it's a JavaScript/IE error but I don't know JavaScript. I tried looking to see a place to close with a "(" but couldn't find one. Anyone else having this issue or know how to solve it? Thanks. SC |
Quote:
http://socaltrailriders.org/ I open it up in Explorer and the same error. I don't think his post was ever answered. Is it possible to get this to validate? Thanks. |
Quote:
|
Since there were never any answers to the previous two gentleman having this same issue, it's safe to say that I should forget about using this hack?
70% of internet users use IE. If it doesn't work in IE... I can't use it. |
As soon as I gets permission I will release a revision of his hack. Please check back for an update.
|
I figured out the javaScript error... only took 14 hours. Sorry I'm a php guy not a JavaScript guy.
Anyway... replace: Code:
echo "<input name=vb_login_username type=text id=navbar_username onfocus=if (this.value == '$vbphrase[username]') this.value = ''"; size=10 />"; Code:
echo "<input name=vb_login_username type=text id=navbar_username onfocus=\"if (this.value == '$vbphrase[username]') this.value = '';\" size=10 />"; |
Quote:
I will update the hack over the weekend to correct it. |
Hello
Thanks for the hack! I got this error on all the pages I have added: Quote:
Thanks |
the unlock_tables error is caused by VB and your script that you are inserting this code into are clashing.
vb uses $db to connect to the mysql DB and so does your script .... in your config file of the script your using try changing........ $db = mysql_select_db to $db1 = mysql_select_db Sorry if its so vague but thats what i did. |
Thanks jeramie78 I'll try that
|
Thanks It worked!!!!! :)
But now I got another error :( (See Photo) Any ideas? |
Quote:
|
Quote:
|
Hate to say it, I found another error via Firefox VS. IE.
When I login and I have code so only a certain group can see it... works fine in Firefox and displays the code, yet in IE it logs me in, shows I am in, but does not display the code to that user group. Is anyone else having this issue with IE? Thanks. SC |
Thanks
I didn't know what that fix was for, but read all your post and i found it. Thanks it worked well. Quote:
|
IPuck,
Glad to hear it. Have you tried this code yet? Code:
if ($vbulletin->userinfo['usergroupid'] == '6' ) Thanks |
Quote:
Then you must set in the config.php on the secound server the ip to the server where the VB-Database is runnig. I have made this to and it works fine. Example: My Forum: www.celebritymarkt.org (Server 1) My Uploader 10mbit.celebritymarkt.org/uploader (Server 2) GreeTz Snatch |
Can some please tell me if
Code:
if ($vbulletin->userinfo['usergroupid'] == '6' ) Thank you |
Quote:
But no, I cannot get it to work in IE. Then again, I'm not a very good test, because I can't get anything for this hack to work in IE. Works brilliantly in Firefox, but won't even let me login in IE. I login, it shows the vB screen saying "thank you for logging in" but then when it redirects me, it's not showing me as being logged in at all. I don't get any errors, it just... doesn't work for me. I'm still reading this whole thread to figure out where I've gone wrong. |
Thanks for replying. I fixed the login part for IE I think it's on page 7 of this forum. But what is the point of this hack if it doesn't work in IE? That is what I don't get. For better or worse, most people use IE and if this only works for Firefox it's pointless.
I used this in Firefox Code:
<?php |
Quote:
PHP Code:
Even before i changed that, I wasn't getting any errors in IE, it just wasn't working. I do have my cookies set to / and not forum/, so I don't know what the IE issue is. :P |
Post Removed Because I jumped the gun. Seems to be working perfectly. Will be donating to Bill on Friday for his great work
|
Quote:
Even with a security/cookie issue, I'd like to see how it was done. :) Thanks! |
The problem you may be having is when you go into vBulletin options-> Cookies and Setting your site may be (blank) you should have a drop down that allows you to select yourdomain.com. Once I changed that it worked. That is the only thing I did different. The table code I posted above is the same... well here is the entire code:
Code:
<?php |
Quote:
Quote:
I clicked "Return to the page you were previously viewing", and I was logged out. I also tried it just typing in the URL after logging out; I was still logged out properly. But I don't use IE, so I don't know how to check the cookies to make sure the one from my site was removed or not. But it appears to be logging me out properly. |
Quote:
|
it is possible to use the template system vb in non vb page with this mod ?
|
Quote:
|
Firstly, suttercain, it appears you could be very helpful to others...but you need to relax dude...seriously.
1. I tried to see if this was posted before, but was unable to find. Everything works great, but when "Log Out" is clicked, the "cleared cookies" vb page is shown and stays. Is this the normal behavior? Is there a known workaround to get it to return the initiating page? (other than hacking the vb code). 2. On the subdomain issue, I have the typical: xxx.org and forums.xxx.org. By doing a "cwd()" in both the domain and subdomain, I confirmed that the physical locations are both under the main domain. However, the require_once of the global.php simply prohibits the page from displaying. Bypassing this with a technologically-superior "//" (commenting out), the page loads fine but displays the following after clicking login: "In order to accept POST request originating from this domain, the admin must add this domain to the whitelist" Dunno if this will help at all, but figured I'd post it. |
Updated
Download the update from the first post, and see the 2nd post for additional workarounds for the 404 on Expired passwords and cross domain login issues. |
All times are GMT. The time now is 01:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|