vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   4images Gallery 1.7 + vB 3.0.x (update Oct 30) (https://vborg.vbsupport.ru/showthread.php?t=66335)

arpy 08-21-2004 09:06 PM

Ok, I installed 4images and this hack today but I didn't get the "single" login running. When I was changing from board to gallery, often I was logged out. I did some investigation and found and error(?)

PHP Code:

      if ($this->read_cookie_data(COOKIE_PREFIX."password") == md5($this->user_info['user_password'].''VBLICENCE_NUMBER) && $this->user_info['user_level'] != USER_AWAITING) {
        
$this->set_cookie_data(COOKIE_PREFIX."password"$this->user_info['user_password']);


Does this make sense? If the cookie-PW equals to profileDB-PW*MD5 then replace the Cookie with the PW without MD5???

I have removed the set_cookie statement and now everything seems to be fine...but to be honest, I'm not really sure because nobody else had problems ;)

arpy

[high]* arpy Clicks install ;)[/high]

boiboi 08-25-2004 05:31 AM

Quote:

Originally Posted by mtha
I dont see the relationship here, but ... well maybe there's some conflict ... I have no idea what it should be yet.

Just installed this hack yesterday. This error seems unsolved in this thread but here it is again:

When I replace the following in forum/includes/function.php
<search for>
$name = COOKIE_PREFIX . $name;
</search for>
<replace>
if ($name != 'sessionhash')
{
$name = COOKIE_PREFIX . $name;
}
</replace>

This error shows up:

Parse error: parse error in /home/initial/public_html/forums/includes/functions.php on line 1864

Line 1864:

$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')=== false, '?', '?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')=== false, '?', '?','&amp;') . "explain=1\">Explain</a>)<br />\n";

It seems like it's totally unrelated, but it's not.

BlackxRam 08-26-2004 06:13 AM

First you guys. This hack right now is perfect unless you have changed the NAME of your COOKIES FOR VBULLETIN. IF you do that, go back and search this thread for the fix he gave me.

Second, this hack only integrates the LOGIN SYSTEMS... not the functionality of it. REMEMBER THAT LOL.

If your trying to get 4images to appear on vbulletin then this is not the hack your looking for. This hack will only allow you to use your vbulletin login on 4images. This hack is mainly on the 4images side. If there are any errors its probably your own fault NOT this hack. This hack is perfect if your using VB 3.0.1 and up. I have now installed this mod on over a dozen installations.

Start over, and work at it SLOWLY and it will work for you. If yout not accustomed to working with 4images then you shouldnt have tried installing this hack right now. Try some smaller hacks over at 4homepages.de to get used to the pages you will be editing.

BlackxRam 08-26-2004 06:16 AM

Quote:

Originally Posted by Blam Forumz
Bump

Blam, I have no idea what you did but you didnt install it properly. Start over with clean files. Work it through step by step. usually a BUNCH of errors like that means you didnt upload the sessions.php file to the 4images includes folder or you messed up that file. there is only ONE CHANGE OF VBULLETIN and thats in the INCLUDES/functions.php file. Thats the only thing you change on vbulletin. Everything else is 4images related.

BlackxRam 08-26-2004 06:18 AM

Quote:

Originally Posted by deathemperor
anyone ?

Death, this hack is for integrating the login systems not putting images on another page. There is a hack on 4homepages.de that outputs the latest additions to a page on your website. You can use that and the phpinclude template of vbulletin to add your images. Either that, or request a hack in the requests forum. This thread is the wrong place for that.

boiboi 08-26-2004 08:14 PM

Quote:

Originally Posted by boiboi
Just installed this hack yesterday. This error seems unsolved in this thread but here it is again:

When I replace the following in forum/includes/function.php
<search for>
$name = COOKIE_PREFIX . $name;
</search for>
<replace>
if ($name != 'sessionhash')
{
$name = COOKIE_PREFIX . $name;
}
</replace>

This error shows up:

Parse error: parse error in /home/initial/public_html/forums/includes/functions.php on line 1864

Line 1864:

$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')=== false, '?', '?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')=== false, '?', '?','&amp;') . "explain=1\">Explain</a>)<br />\n";

It seems like it's totally unrelated, but it's not.


I've installed much more complicated hacks than this. Try vbulletin integrated with Horde framework. I commented out line 1864 now your hack works.

Guz2003 08-27-2004 03:32 PM

I have same problem

boiboi 08-28-2004 05:58 AM

Yeah but this guy thinks it has nothing to do with the hack, so just try commenting out the line I mentioned.

Drache 08-28-2004 09:49 PM

sweet been looking for something like this. I really want to install it but before i do i have 2 question to ask.

1. Does this support vb 3.03?

2. I've checked your http://www.randomforum.com/forums/gallery/index.php it looks really good. but is it possile to have a option that allow you to view all the photo that member posted? Like when you go to their memer details and you will be able to find all photo or image post by that user.

Looking forward to your reply. Thanks

Caiman 08-29-2004 05:33 PM

Quote:

Originally Posted by hongfire
sweet been looking for something like this. I really want to install it but before i do i have 2 question to ask.

1. Does this support vb 3.03?

2. I've checked your http://www.randomforum.com/forums/gallery/index.php it looks really good. but is it possile to have a option that allow you to view all the photo that member posted? Like when you go to their memer details and you will be able to find all photo or image post by that user.

Looking forward to your reply. Thanks

hacks like that can be found in here: http://www.4homepages.de/forum/viewforum.php?f=15


All times are GMT. The time now is 10:26 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.02030 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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