![]() |
Thanks Bill, got it working, and I use 3.6.4 :D Didn't need to modify any code for it to work, so I think its safe to assume it will work with 3.6.4 out of the box. I did, however, modify it to fit my site better and fixed some validation issues! :P
|
Quote:
Thanks. |
Quote:
|
Hi, thanks for this great hack :)
I have one small problem i am using vb 3.6.4 everything works fine except for dispay avatar. If i add my own avatar through usercp it will diplay, but if i choose a forum avatar it wont :( any workaround for this ? |
Quote:
Ive tried a few different things but havent been able to get around it. :( |
Quote:
PHP Code:
I havent tried this yet, it may or may not work. Look here for more info https://vborg.vbsupport.ru/showthread.php?t=132024 |
You should release this as a 3.6 pluging so it shows up in the 3.6 listing :) its working perfectly fine with it anyway ;)
|
i've a big problem....my website has a template php (template.inc.php) that is included into index.php
Code:
include("template.inc.php"); Code:
function top() { Code:
<?php i don't know what to do.....i know that it go because if i create a normal page login script go well!!!! |
hey any idea how i could make it show on whosonline page
so people who are using my page www.aur-phala.com/hotmail will show up on whos online so i can see whos checking that page out for version 3.6.x |
ok, i have the cms postnuke, i want the login to appear in a postnuke block. i understand that the:
<?php require_once('/path/to/your/login_inc.php'); ?> should be in the block, but it won't appear cuz i don't know how to tweak the rest of it. can anyone help me get this to work in a postnuke block? |
I'm no coder but I want to insert your hack into joomla (I hate those bridges), is this possible?
|
I think I have to place it in a joomla module, but I don't know how :(
|
Quote:
Archie, I may be able to help, give me a pm, Im pretty familiar with Joomla. Edit - If anyone wants to add to this nice mod, by showing total num. of registered users, that would be nice ;) |
Quote:
You would need someone quite skilled in joola to make the necessary modifications. Quote:
(might already be on there actually) |
Quote:
My first idea was creating a new module in joomla, insert your code there, publish this module and upload your login_inc.php file - But that would be too good to be true :( |
Quote:
Oh Bill, if you don't get too it, I will grab it soon :D I am actually working on a news publishing script for my homepage (outside of VB), which comments and all take VB user info, and hope to get it integrated more to VB, so I will need something similar soon anyways. |
Hi i am having one issue,
when i try to read a variable parsed through the URL: index2.php?page=home for example when i access $_GET['page'] all it contains is 0 i ran some tests, and if i echo it BEFORE i include global.php it is fine, if i do it after i get 0 anyway to resolve this? **edit it will let me enter numvbers for some reason, and will parse those through fine: i.e: index2.php?page=65464 is fine ** additional edit, just realised page must be a reserved word, for the page number the user wishes to view in a topic, sorry about that. Do you have a list of reserved words by any chance? |
Quote:
I keep running into the same problem myself. A list of vB reserved names would be very handy. |
helo..if the target page placed in different server?
inthat case will it work? or how could we? |
Am I stupid or is it impossible to put the content of my choosing inside the "Your logged in so we can display this" field for the logged in users? It won't accept PHP includes (which I would prefer) or anything beyond normal HTML tags such as <center>, <br> or <p>. In result, I continue to receive parse errors. What am I doing wrong? :confused:
|
Quote:
Cross site logins are a known issue caused by vB's security features. If you try the suggestions in the 2nd post in this thread you may get that working but no promises. |
Quote:
Taking a guess here but your trying to place the php code inside this statement? PHP Code:
You put the PHP code between the { and } not inside the echo statement. You can also include other files if you like. for example PHP Code:
|
Quote:
|
anybody know how I can disable the script from trying to get the image size?
I get this error after logging in. Quote:
|
Quote:
try this. in login_inc.php find PHP Code:
PHP Code:
|
it's me again, still having the problem with creating a joomla module with this hack :(
I still didn't get it :( |
I like the user authentication system that PhotoPost and ReviewPost utilize from Techimo.
I don't care about showing avatars and have no desire to do so. I just want the same functionality as PhotoPost has. Does this hack do the same thing? |
Quote:
I think you would have to actually hack the joomla code to intergrate this with that. |
Quote:
|
Hey bill, im in the process of switching servers, and ran into a problem with this hack :) you might have seen it before, i im posting a screenshot, maybe you know how to fix this? ;)
As far as i know i made no mestakes with paths or anything As you can see, this is how it shows when logged in (cookie settings are on / and .domain.com) , and notice the "Submit Qeury" in the button... instead of the normal "inloggen" wich it should be thanks in advance |
ok disregard the message above, i took the test.php and the basic code, that worked fine.
so i copied only the php lines into my template on the spot where it was, and voila, it started working again aswell. :S very weird, but at least it works again yay :) |
Quote:
Ive done stuff similar to that before too. :) |
How do you allow multiple groups access? I tried separating group IDs by commas but that doesn't seem to work.
Also, I'm assuming that only primary groups are looked at? What if I want to assign a special group permission to certain pages without changing their primary group ID? |
Quote:
Code:
if ($vbulletin->userinfo['usergroupid'] == '25' Quote:
It should just be a matter of checking their secondary group membership like in the above manner. I think that may be $vbulletin->userinfo['membergroupids'] but Im not sure (havent tried it) |
Cool - thanks!
How about if I want to control files from being accessed by members who are currently logged in - is there a way to set this up? If the URL of the file is known the method in this thread won't protect those files from being accessed by "non-members", since it only controls what is displayed (like URL/links). Is there a way to have the log-in checked before the file is accessed? I'm guessing a dynamic URL/link would be required which needs to be generated based on whether the user is logged-in or not. Is this possible? |
Quote:
You can do this by playing with your httaccess file. Ive seen it done on several sites before. This hack here https://vborg.vbsupport.ru/showthread.php?t=61507 is for vB 3.0 but should give you an idea oh now it all works. Hope this helps. |
I figured as much. I'm looking at the rewrite mod that comes with Apache (?). I'll have to do a little more research to figure out what will work for me.
Thanks for the great hack/mod Bill, it works great on my site. |
Hey just posting this here incase others were always interested in using this login script and vbexternal together. =)
https://vborg.vbsupport.ru/showpost....&postcount=399 |
Bill.. i had a big problem this morning.
When i entered my site i thought it was down, it was 100% 404 page (page not found) so i was freaking out and allready submitting a ticket to my host when my GF went behind the pc and could enter the site and started movign onto the forum So i went to domain.nl/community (my forum url) and saw the following message: (your password is more then 180 days old, set a new pasword here) After i did that, my frontpage went normal again, but before i did that, i checked and deleted the code from from this plugin the template to see of it was this plugin wich made the entire page it was loaded to a 404, and it was. :( could you check into this please? cause it can ultimately make your site down for everyone a member longer then 180 days :s Edwin |
Quote:
Anyhow, I will have a look at it when I get home. |
All times are GMT. The time now is 11:02 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:
|