4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: jens21 on March 14, 2005, 10:39:02 AM

Title: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 14, 2005, 10:39:02 AM
Titel: 4images - wbb-lite Integration
Version: 1.0
Beschreibung: Titel: 4images - wbb-lite Integration

Beschreibung: Mithilfe dieses Addons könnt ihr euch in der Gallery mit dem gleichen Namen anmelden, wie im wbb-lite

Autor: www.schwerteforum.de

Getestet mit: WoltLab Burning Board Lite
Vorraussetzung: WoltLab Burning Board Lite und 4images - Gallerie

Livedemo (http://www.schwerteforum.de)   

Download (http://www.schwerteforum.de/gallery/categories.php?cat_id=61)   

ACHTUNG! Für Schäden wird keine Verantwortung übernommen!
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: AntiNSA2 on March 14, 2005, 02:35:57 PM
Hey, you think this mod works pretty good so far?

I noticed you are using this and not dreamboard.....

Are you completely happy with it? I know you are probably to busy for any reviews...

But that would be cool if you could let me/us know....

Thanks-
Robert
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: CHV on March 14, 2005, 02:50:21 PM
sehr geil problem ist nur ich hab wbb2.1.3 und ich würds ja seeehr gerne machen also wie du das hast gibs da ne möglichkeit ???
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 14, 2005, 04:27:54 PM
@ AnitiNSA2: it works very good.
i'm using wbb-lite, 4images and my integration

@CHV: das weiss ich leider nicht, da ich nicht das wbb2.1.3 habe (kostet ja...) musst du einfach ausprobieren (vorher die datenbank sichern, falls was schief läuft --> einfach wieder überschreiben)

es klappt, wenn es bei wbb2.1.3 in der datenbank die tables bbX_users existiert und die einzelnen sachen in der bbX_users wie beim lite sind (sprich userid...)
falls du es ausprobierst, poste es bitte hier  :wink:
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: JensF on March 14, 2005, 11:41:57 PM
Hi,

ich hab mir das angeschaut und bin mir nicht sicher ob ich das tun sollte. Wie ist das wenn man das Forum nachträglich installiert? Wenn man also schon Mitglieder in der Gallerie hat.

Irgendwie sieht mir das ganze so aus als wenn es nur funktioniert wenn man schon das Forum hat und nachträglich die Galerie installiert. Bei mir wäre es umgekehrt.
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 15, 2005, 12:16:01 AM
das wird nicht klappen.
es werden nur user übernommen, die in der datenbank bb1_users stehen und somit ist die komplette 4images_users überflüssig.

du solltest dir überlegen, ob sich alle user neu im wbb anmelden (sie müssen sich ja eh 2 mal anmelden, im wbb und in der gallery), wenn es nicht zuviele sind
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: JensF on March 15, 2005, 12:18:28 AM
Naja, sind über 200 User und ich denke das ist mir dann doch zu riskant. Da behalte ich dann doch lieber das Dreamboard obwohl mir da die sehr wichtige Funktion "Mail Benachrichtigung bei neuen Antworten" fehlt.

Title: Re: [MOD] 4images - wbb-lite Integration
Post by: CHV on March 15, 2005, 06:56:16 PM
also ioch schau mal ob ich es teste hab aber angst  :roll:^^ naja mal sehn
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 16, 2005, 12:55:17 AM
angst brauchst du keine zu haben! sichere einfach die session.php und constants php
und in der datenbank wird nur was hinzugefügt, nicht verändert!!!
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: AntiNSA2 on March 16, 2005, 04:38:34 AM
OK, tum me leit mein deutsch ist necht sehr gut,
so I will write in English....

I understand you will have to creat a new usertable and move all your existing 4images users into that  table,

But wont you also have to go through every php page and change the reference to the native 4images user table to the new 4images table?

I have so heavily modified my code already.....

I could think of a couple of mods I have that run a query looking in the 4images_users table////

Id have to go through and find all those references and change them to search for the user in bb1_users or whatever??

Moving the users would be pretty simple as I havent opened my site to the public yet, however, changing the php in every page that looks to the native users table of 4images seems like it would sincerely be a pain in the......

Not to mention every future mod would have to be changed to find the new users table.

I think that it would be cool if everyone supported dreamboard, since that is written around the native 4images code.

Maybe I misunderstood, and if so that would be cool if someone could point out where my thinking/understanding is incorrect 8O

Thanks guys-
mfg
Robert
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 16, 2005, 11:32:29 AM
you are right, this mod is better for people who have first the wbb and then the gallery / or less or the same people in the gallery's user table.

after installing my mod the gallery will only accept users from the wbb-user-table

for people who have more users in the gallery than in the wbb, s.o. must code a mod witch transfer the users from the gallery-table to the wbb-user-table
you write s.th of a new 4images user table, thats wrong the new user-table is the wbb-table
you wont have to go through every page, because you modify the session table, and the session table is for every php-page

i made this mod because i had 300users in my wbb and then install the gallery. and so i made the gallery use the wbb-user-table.

i hope you understand my english...
so far
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: AntiNSA2 on March 16, 2005, 11:47:18 AM
So, if we look at this which is from one of the mods I have for example, integrated to index.php

Code: [Select]
$sql = "SELECT user_id, user_name, user_avatar, user_email, user_showemail, user_country, user_showcountry, user_bornpstate, user_showbornpstate, user_borncity, user_showborncity, user_current_location, user_showcurcountry, user_curpstate, user_showcurpstate, user_curcity, user_showcurcity, user_homepage, user_sex, user_icq, user_msn, user_aim, user_skype, user_yahoo, user_qq, user_birthsign, user_cbirthsign
       FROM ".USERS_TABLE."
       WHERE user_level IN (".USER.", ".ADMIN.")
       LIMIT $rand_user, 7";

user_id and USERS_TABLE is going to be ok like it is right now if I used your mod?

Or would I have to change them to a deiiferent name since your are changing the users to a new users table?


Or are you saying that that is done in the sessions is good for everything..?

And what about if I have like 600 images posted from one user...

If I move the user into the new table.... will the user still own all the images already posted?
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 16, 2005, 02:02:29 PM
if you look at the top of the index.php: require(ROOT_PATH.'includes/sessions.php');
it's done with this --> you wont have to change anything there.

the images are saved in the 4images_images table not in the users_table.

try this: save your sessions.php and constants.php on your harddrive. and save your database.
then try my mod. if its not ok, copy the old files over the modyfied one and all is like before...

let us know if its working
post your homepage to let me see...
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 29, 2005, 04:17:54 PM
hi, so wollte mal nachhören, obs bei euch allen klappt?!

*******************************************

hi, i want to know, if its working on your sites?!
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on April 17, 2005, 12:51:29 PM
Wollte euch doch noch mal daran erinnern, dass diejenigen Leute, die sich die integration runterladen und einbauen, auch bitte den Verweis zu meiner Seite im Footer ergänzen, so wie es in der Anleitung steht.

Wir hatten sehr viel Mühe und Zeit investiert um die Integration fertig zu stellen.
Und wenn ich sie dann freigebe, würde es nur fair finden, wenn ihr auch meinen Verweis im Footer reintut.

Habe jetzt insgesamt ca 300 downloads des Hacks und nur 3seiten gesehen, die den Verweis zu meiner Seite drin hatten.
Also bitte tut ihn rein, so wie man es bei jedem anderen Hack auch tut...
danke
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: Michi0310 on April 17, 2005, 03:52:53 PM
Klappt eigentlich soweit ganz gut. Leider bekomme ich in der Galerie nun bei fast allen "User" sachen, nen DB Error wie diesem:

Quote
DB Error: Bad SQL Query: SELECT COUNT(*) AS users FROM bb1_users INNER JOIN 4images_groupmatch ON bb1_users.user_id=4images_groupmatch.user_id WHERE 1=1 AND group_id = 3 AND groupmatch_startdate < 1113745570 AND (groupmatch_enddate > 1113745570 OR groupmatch_enddate = 0) AND bb1_users.userid <> -1
Unknown column 'bb1_users.user_id' in 'on clause'
Gefunden: . Angezeigt: 0-.

Weißt du Rat ?
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on April 17, 2005, 05:45:30 PM
was meinst du mit user sachen???

schick mal nen link, wo der fehler erscheint
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: Michi0310 on April 19, 2005, 11:35:47 AM
was meinst du mit user sachen???

schick mal nen link, wo der fehler erscheint

Kann dir kein Link schicken. Der Fehler erscheint im Control Panel.  :?

Er erscheint bei allen Änderungen die User betreffen. Wie zB Usergruppen, Userrechten die man in der Galerie einstellen könnte.
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: AntiNSA2 on May 05, 2005, 11:37:29 PM
I would reall like to do this integration as soon as I can wake up....

I just want to know now if everything is alright??

Can we still use the control panel in 4images???

Thanks if you could get the answer to me :)

Robert
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on May 06, 2005, 05:00:03 PM
hi, you can still use the 4images control panel after the integration...
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: Zephaniah on November 04, 2005, 03:56:37 PM
Hi, is there any way you can put the instructions on how to setup this mod in English?

Thx
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: John Porno on March 27, 2006, 07:37:50 PM


Warum geht denn der Download nicht mehr ??
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: IcEcReaM on March 27, 2006, 08:23:13 PM
http://www.schwerteforum.de/forum2/jgs_portal.php?id=82
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: John Porno on March 28, 2006, 12:04:51 PM
Danke schonmals....

Eine Frage:

in der anleitung steht:
weiter im php_my_admin: in der bbX_users table
Gehst du auf deinen Namen und auf bearbeiten. Setze user_level auf 9


Was soll das bedeuten ?
Muss ich in der langen Tabelle unter user_level rechts auf bearbeiten klicken und dann den standard auf 9 setzen ?
oder "Länge/Set*" ?

Bitte helft mir mal kurz weiter, ich hab bei datenbanken noch nicht so den Durchblick.

Danke.
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: John Porno on March 28, 2006, 12:52:02 PM
Hab jetzt bisher alles gemacht, bis auf den Beitrag weiter oben.

Kann mich auch mit den Benutzernamen aus dem Forum einloggen.
Aber wenn ich mich als admin einloggen, komm ich nicht nicht mehr ins admin menü.

hängt das mit dem oben zusammen ?
oder hab ich was falsch gemacht ?

Danke.
Ralf
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: jens21 on March 28, 2006, 01:34:15 PM
gehe in dein php_my_admin in die wbb_users und geh auf anzeigen und bearbeite deinen Namen: setzte User_level auf 9
dann müsste es klappen
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: John Porno on March 28, 2006, 01:40:17 PM
gehe in dein php_my_admin in die wbb_users und geh auf anzeigen und bearbeite deinen Namen: setzte User_level auf 9
dann müsste es klappen

Danke, hab ich nicht gleich geblickt aber jetzt habs ich gecheckt.

Ist ja wirklich alles hammers-interessant.
Danke Jens !!!!
Super Arbeit !

edith: jetzt muss ich nachher nur noch die footer.php ändern  :D
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: keemo on November 02, 2006, 02:28:19 AM
Jens, first off great job! Thanks! Seems to work great so far. Still playing around a bit.

I had something odd happen during the customization and was hoping your expertise may help. At the very top of the page I now see this: {cssfile}. I can't seem to locate where to remove this.

Does anyone have any ideas? or at least point me to the file where I would find this tag?

Thanks again!
Keemo
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: keemo on November 03, 2006, 04:50:34 AM
I probably should have looked at the date of the last replies to this thread first. Yikes!

Is anyone around using wbb-lite with 4images? Just curious.

Well, had a little error popup and hope someone around has any ideas. I have successfully integrated the forums with 4 images. Pretty easy.

However, when viewing the search.php page I am getting the following message at the top of the page above the header:

Notice: Undefined index: userid in /home/motop3/public_html/includes/page_header.php on line 45

Does anyone have any ideas?

-Keemo
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: keemo on November 03, 2006, 04:55:22 AM
Jens, first off great job! Thanks! Seems to work great so far. Still playing around a bit.

I had something odd happen during the customization and was hoping your expertise may help. At the very top of the page I now see this: {cssfile}. I can't seem to locate where to remove this.

Does anyone have any ideas? or at least point me to the file where I would find this tag?

Thanks again!
Keemo

I was able to fix this by defining the background with the ACP when editing the design pack. Hope this helps someone.
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: Thomas12 on November 28, 2006, 10:21:11 PM
Hat jemand den Download entfernt?

Frage an den Author: Müssen Forum und Galerie auf dem selben Server liegen? Ich habe nämlich auf meinem Forumsserver nicht genug Platz um auch die Galerie unterzubringen. Würde aber die Vorzüge einer "integrierten" Galerie nutzen wollen.
Title: Re: [MOD] 4images - wbb-lite Integration
Post by: Sunny C. on November 06, 2009, 03:35:42 PM
Schade, das suche ich!