Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 07:27

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: Links und Thumbnail
PostPosted: 7. Sep 2015, 01:08 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
und wo gebe ich dies ein?

davon abgesehen. versuche immer noch die galerie direkt ins mybb einzubinden. bisher wird sie über ein iframe eingebunden ins system. aber ich würde es gern haben wollen, wenn user a sich einloggt, dass er auch gleich in der galerie eingeloggt ist.

hab jetzt mal bei der head.inc

define("IN_MYBB",1);
chdir("../");
require_once "global.php";

dies eingegeben. die global macht halt vieles verfügbar. das chdir muss sein anscheinend. https://www.mybb.de/forum/thread-5621-page-2.html

dann kommt der fehler:

Fatal error: Cannot redeclare gd_version() (previously declared in /www/htdocs/xxx/galerie/inc/filefunctions.inc.php:1560) in /www/htdocs/xxx/inc/functions.php on line 8002 . also tut sich irgendwas.

jetzt muss ich noch s_user einbinden oder?

die twg soll ja nur die session übernehmen und die namen halt, klar...


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 7. Sep 2015, 09:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
tfu_helper.php, line 2157

Per iframe ist ja kein Problem. Du must in mybb die Variable s_user in der Session mit dem Benutzernamen füllen.
Wenn du TWG direkt einbinden willst ist vor allem alles css und Javascript das Problem.

In deiner global.php gibt es halt auch eine gd_version().


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 7. Sep 2015, 16:17 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
wie mach ich das in mybb... noch nie gemacht... die gd-version hab ich bei dir rausgelöscht... benutze ja so oder so image magic... ich will nur wenn user a isch einloggt, er auch gleich in der galerie eingeloggt ist... wie füllen...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy