![]() |
Quote:
HTML Code:
DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options' Quote:
|
I double checked everything, actually 3-4 times by now.
I've attached all files that were edited / included. |
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=151 on page 11: 01: constant.txt: Do you have vb table prefix in your database? define('VB_TABLE_PREFIX',''); // your vb tableprefix. vB default is blank 02: sessions.php Are you sure your template table name is "template"? or if you need any prefix? // Define here the name of the template database table. // Normally no need to change. define('VB_TEMPLATE_TABLE', 'template'); btw, do you have your 4images and vb tables in the SAME database? |
I could install this myself, but I dont really have the time with the tons of work I am doing lately with the company I work for now. I will pay $15 or so via paypal to have it installed on my site www.pbmessage.com LMK ;)
Actually.. $20. To have it working with my vb3.0.3 site/database, and set up to match the rest of the site. |
Do u have a version for vb 3.0.3?
I installed this, and it appeared to be working fine except on the gallery homepage is showed active users but not the words 'Currently active users:' or to that effect. I also logged out via the gallery and it came up with the old VB messages, error whilst attempting to log you out, click here to logout. I've removed it again but would very much like it on my forums. |
Quote:
Quote:
Quote:
|
Ok, I have this installed and working fine except for one problem. My moderators can login but they are complaining that the upload buttun is greyed out and they are not being allowed to upload images.
Is there some kind of glitch in the permissions system that is not allowing their usergroup to upload pics? |
Quote:
Member has group = 2, admin has group = 6, but moderators groupID are unclassified in 4images. I think the easiest way is adding another field for album level in user table, giving default value = 2 (member). For those who need to be admin, just change the value to be 6 |
Im having some issues with my install, everytime i try to upload a picture i get this:
Quote:
|
Quote:
I think I saw the problems several times. I think it is related to safe_mode property. Check over 4-images forum. they should be able to answer your question. |
Quote:
PHP Code:
Also do I have to change the config.php in 4images route to also have my forums database name and password (if so I did not see that in the install readme). Xrayhead [edit] OK when you say a FRESH install........ Do you mean that when you run the install script for 4images you have to fill in the database as your on VB details??????? |
Right I have fixed this now.
I did a fresh install of 4images and when I ran the install I put my VBulletin database details into the 4images database settings. Ran the install and hey presto I now have the correct tables in my VB database!!! It dose not say this anywhere in the install instructions and it would be really useful if you could add what I have just stated. Xrayhead |
Quote:
It does state clearly in the instruction note that Quote:
|
No I did not skip the notes, (I read them about 20 times and could not understand how to get the tables into my database) I was also searching for a script in this thread that would install the new tables into my database for me!!!
I think the hack is very good indeed and a lot of work must have gone into it. I have had my forum running for 3 years now, why would I not read or skip something that could mess it all up? Quote:
As you know when you install Vbulletin fresh it destroys ALL tables within the database, I was worried that the 4images would damage my database (although I had backed it up prior). I hope this makes more sense of what I am trying to say and I hope it helps others with the same problem. Xrayhead PS, Thanks again for a really good hack (have it installed and working a treat on my site) finally. :squareeyed: |
Did the integration today and i got problems accessing the admin area.
I never did have problems previous to the integration... When you check this pic below, its obvious i have a path problem somewhere but ive double checked it all and cant figure out where it is...Exactly what bit of code is being utilized here. Once i get this once sorted, then ill move onto login...Quite frankly ive had exactly the same problem with Coppermine and spent 2 days on it...gave up on that in the end...but it worked flawlessly before integration. I feel like just forcing my users to double login if they want to use it...personally i wouldnt bother me.. Anywayz if somebody could help id really appreciate it... |
Quote:
I have mine in the following "/home/lsmith/public_html/vboard/gallery/" And access it via http://www.my_url.com/vboard/gallery/ And Admin would be via http://www.my_url.com/vboard/gallery/admin/ I have just installed this and it works a treat, let me know if you need any help. Xrayhead |
Ok I had a look at your site and you are useing the wrong url to login.
Have a look at the attached. |
Quote:
album/admin/index.php Quote:
|
I installed for my 4images, but I can't login. Can you help me ?
|
Quote:
|
Thx for the response guys...
I have my forums setup in my root directory. So www.gamerscurse.com for me, is everybody elses www.gamerscurse.com/forums/ so the full path is /home/httpd/vhosts/gamerscurse.com/httpdocs 4images is set up in www.gamerscurse.com/gallery/ so path wise its /home/httpd/vhosts/gamerscurse.com/httpdocs/gallery Ive rechecked the installation and cant see where i stuffed up, all i did was change the word "album" for "gallery" in a couple instances. I have this in constants.php, other than that its all standard. Quote:
Quote:
Quote:
Quote:
Also based on what you guys said isnt <form action="<?php echo ROOT_PATH; ?>admin/index.php" method="post"> ...the old version correct and not <form action="/forum/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5pa ssword)"> which is what the instructions say to put in... im calling login.php there and not the old index.php? |
ok i put the "/" infront of login.php and now i dont get the error i got before but it keeps just bouncing me back to the admin login screen after i entered it.
|
So far, it looks awesome and it seems to be working correctly. Thanks for an awesome hack :)
How can I add a Navbar link to the gallery? How about a link in Quick Links? At least knowing the relevant Admin CP path and code to look for would be a big help. THanks! |
Found this relevant bit for navbar still working on it...
|
Quote:
Change ALL /forum/ by / or you can use your full path: <form action="http://www.gamerscurse.com/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5pa ssword,vb_login_md5password_utf)"> <script type="text/javascript" src="http://www.gamerscurse.com/clientscript/vbulletin_md5.js"></script> after making changes, clear all cookie, logout and login again. Test: you may try to login in your forum home first, change to your album, and then browse to your AdminCP. You shouldnt have to login at these points. |
Anyone wanna show me how to customize the look of 4 images?
|
Quote:
Are there other areas where i have to change this code? |
Quote:
What is your groupID? you have to be in groupid 6 (Admin) in order to login to admin area. And you should have this number right, according to your forum setting - constants.php // User levels define('GUEST', 0); define('USER_AWAITING', 3); define('USER', 2); define('ADMIN', 6); https://vborg.vbsupport.ru/showthrea...=15#post561764 |
Quote:
Go to Templates, and edit templates there. Detail instruction should be available at www.4homepages.de |
I just wanted to say thank you for this hack, but I am having one problem. I have installed this hack about 6 times now and reinstalled vb and 4images just as much. I am still having the same problem.
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/domain/public_html/forum/includes/functions.php on line 1887 Thanks snap_com |
Quote:
Do you have problem after this hack? |
I am using verion 3.0.3 of vb. This is what 1887 says:
Code:
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')=== false, '?', '?','?','?','&') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')=== false, '?', '?','?','?','&') . "explain=1\">Explain</a>)<br />\n"; snap_com |
Quote:
(updated in the first post) Just want to make changes? here's how: NOTE: remember to backup the old files if you had them working good. I just make this work, didnt have time to fully test it. Let me know if it works good. In constants.php: Look for PHP Code:
PHP Code:
In sessions.php: Look for PHP Code:
PHP Code:
|
Quote:
I think that guy was just comment out that line, and everything works fine. ... read Valr the Slain posts here https://vborg.vbsupport.ru/showthrea...5&page=2&pp=15 The answer is somewhere around there, or you can ask him for a solution |
Quote:
|
Quote:
remember, this has to be primary group. |
I tried to install it on my v3.0.3 and I'm getting this error
Quote:
Quote:
Any help? |
Thx to Mtha i finally managed to get my site working. In the end the admin problem appears to be that i had
define('GUEST', 1); instead of define('GUEST', 0); and that appeared to solve it straight away, i have no idea why because admin group is 6 but there you go. Now i have another question. What is the best way to go about changing the templates so it fits in with the rest of my site. I notice the templates are .html. so calling php files might be an issue?...im not sure. Once i get the templates sorted it will be mission complete. Thx again Mtha for your perserverance and help. |
Quote:
Quote:
|
Guys, check this out ...
This is a full integration of vB3.0.3 with 4images 1.7 :rolleyes: with much more features. I'll need to wrap things up, "still in beta stage" then post all the new features. http://www.uaeart.com/main/ |
All times are GMT. The time now is 12:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|