|
#1
|
||
|
phpuploader to use phpbb session tables
Hi
I would like to say what a cool addon to any forum software this is i have searched high and low for an uploader that gives a link to the selected uploaded file/image. Now lets get right to it i dont want to use the password feature as i really thinks it sux as the password could be handed out to any one (forum members pass it on to friends) so the solution is to create a custom page using phpbb and then insert your script in to the html file (for phpbb custom page) now the down fall is your script will not run from a html file so the solution is to make a index1.php and place the below code in it (it will check if the user is logged in and if not force them to login to phpbb) the below snipp needs a html file once you get passed the phpbb's login box your pushed to the upload box PHP Code:
PHP Code:
it works but it pulls the forum page all to the left and looks a mess so the question is how can this snippet below be worked in to your script without the need for a html file that in turn would stop the forums theme being used and with out breaking the uploader ? PHP Code:
|
#2
|
||
|
I think the easiest thing to do is to just integrate the phpbb sessions into the phuploader.php file and if they aren't logged in, redirect them to the phpbb login. Sort of like you already have it. You could also make the script look like your forums by modifying the actual HTML within the phUploader.php script. Although it would be static..
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
||
|
Done i went your first way as its only one file and every thing works well
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|