phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

[ABD] phpBB Form

Sezione in cui vengono spostati argomenti di MOD in sviluppo oramai abbandonate.
Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da Carlo » 29/11/2009, 21:09

Si, tra qualche giorno inizierò lo sviluppo.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

ldm
Utente
Utente
Messaggi: 350
Iscritto il: 09/09/2009, 13:53
Versione: 3.0.7-PL1
Server: UNIX/Linux
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da ldm » 28/12/2009, 12:16

Carlo, questo progetto è stato abbandonato oppure ci stai lavorando?

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da Carlo » 28/12/2009, 12:19

Ho iniziato a lavorarci i primi di dicembre, poi mi sono fermato temporaneamente per il progetto "Forum Hosting", ma lo continuerò...
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Hegalo
Utente
Utente
Messaggi: 190
Iscritto il: 18/07/2009, 4:27
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
Località: Milano periferia Hard-Core

Re: [DEV] Da Modulo a Topic

Messaggio da Hegalo » 29/01/2010, 13:42

come stai carlo??? che ci puoi dire??? preche' io da solo sono ad un punto morto, qui ho bisogno di te, e poi se devo dirtela tutta non ho voglia di chiedere aiuto a qualcun'altro, cioe' preferirei che sia una cosa proveniente da qui pero' se non hai tempo ho voglia vedo cosa o megli chi puo' darmi una mano per fare qualcosa del genere, anche se pero' e' piu' una cosa che mi sono messo in testa, alla fine vabbe' aspettero' ancora, ciao

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da Carlo » 29/01/2010, 14:16

Avendo molti impegni ed altri due siti da gestire, lo sviluppo di questa MOD sarà molto più lento... ora come ora non saprei neanche dirti quando sarà disponibile la prima versione beta.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da gennyna » 06/02/2010, 18:26

Mi accodo..

MI serve come il pane questa mod..

Gelmo
Utente
Utente
Messaggi: 506
Iscritto il: 20/04/2009, 9:27
Versione: 3.0.5
Server: Windows

Re: [DEV] Da Modulo a Topic

Messaggio da Gelmo » 09/02/2010, 15:08

io ho trovato questa cosa qui...

app.php

Codice: Seleziona tutto

<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);


// Start session management
$user->session_begin();
$auth->acl($user->data);

if ($user->data['username'] == "Anonymous" || $user->data['username']== "Guest")
{
echo "Please Login to the forums and try again.";
}
//echo "<script type=\"text/javascript\">".
//"window.close();".
//"</script>";
else
{
echo "<html>
<head><title>America's Army Application Form</title></head>
<body>
<form action='poster.php' method='post'>
Enter your America's Army Username: <input type='text' size='25' name='username' /><br>
Enter your PB Guid: <input type='text' MAXLENGTH='32' size='40' name='guid' /><br>
Enter your Age: <input type='text' MAXLENGTH='2'size='2' name='age' /><br>
Enter your Tracker ID: <input type='text' name='trackid' /><br>
Do you have a mic? <input type='text' name='mic' /><br>
Do you have Vent? <input type='text' name='vent' /><br>
Have you ever been banned by an Anti Cheating Community. If yes, Why? <input type='text' name='banned' /><br>
Why do you want to join this clan: <input type='text' name='reason' /><br>
If someone invited you to join the clan, please state his/her name: <input type='text' name='ref' /><br><br>
<input type='submit' />
</form>
</body>
</html>";
}


?>



poster.php

Codice: Seleziona tutto

<?php

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);

//Yeah, I know this is not needed but I did it for simplicity
$username = $_POST["username"];
$guid = $_POST["guid"];
$age = $_POST["age"];
$tracker = $_POST["trackid"];
$microphone = $_POST["mic"];
$vent = $_POST["vent"];
$banned = $_POST["banned"];
$reason = $_POST["reason"];
$ref = $_POST["ref"];
$ip = $_SERVER["REMOTE_ADDR"];

$message = "AA Username: $username
PB Guid: http://www.hazardaaclan.com/history/accounthistory.php?guid=$guid
Age: $age
Tracker ID: http://aaotracker.com/usertracker.php?userid=$tracker
Mic? $microphone
Ventrilo? $vent
Banned? $banned
Reason for wanting to join? $reason
Refered by: $ref";

$time = time();

// note that multibyte support is enabled here
$rawsubject = "Americas Army Application for $username";
$my_subject	= utf8_normalize_nfc($rawsubject, '', true);
$my_text	= utf8_normalize_nfc($message, '', true);

// variables to hold the parameters for submit_post
$poll = $uid = $bitfield = $options = ''; 

generate_text_for_storage($my_subject, $uid, $bitfield, $options, false, false, false);
generate_text_for_storage($my_text, $uid, $bitfield, $options, true, true, true);

$data = array( 
	'forum_id'		=> 32,
	'icon_id'		=> false,

	'enable_bbcode'		=> true,
	'enable_smilies'	=> true,
	'enable_urls'		=> true,
	'enable_sig'		=> true,

	'message'		=> $my_text,
	'message_md5'	=> md5($my_text),
				
	'bbcode_bitfield'	=> $bitfield,
	'bbcode_uid'		=> $uid,

	'post_edit_locked'	=> 0,
	'topic_title'		=> $my_subject,
	'notify_set'		=> false,
	'notify'			=> false,
	'post_time' 		=> 0,
	'forum_name'		=> '',
	'enable_indexing'	=> true,
);

submit_post('post', $my_subject, $user->data['username'], POST_NORMAL, $poll, $data);

echo "Application Submitted, You may close this window.";

?>
questo è un reedme.txt

Codice: Seleziona tutto

Quick Readme.

Works with PHPBB 3.0.2 and should work on all version above it. It *might* work on 3.0 RC1-3.0 Final but thats at your own risk.

1. Scroll down to Line 51 on that line you should see 'forum_id' => 32, change the 32 to the forum id of the forum you wish the post to be sent to.

2. Upload both the app.php and poster.php to the www.myclan.com/forums directory. Access the app by using the link www.myclan.com/forums/app.php

The app.php checks to see if you are logged in. if you are it will display the form. If you are not logged in it will display an error message.

Origonally, I thought I had to inject data directly into the database, it turns out that the PHPBB Devs made a special function that does everything for me I just need to direct the data to the proper place.

If you require different questions etc, send me a PM or post on the ACI forums, however, you should be able to figure some of this out on your own. :)

ENJOY!

Credits:
ACI Community for having faith in me. xD
Snoop-ACI-
Brf from PHPBB Forums
http://www.phpbb.com/mods/documentation/phpbb-documentation/basic_api/index.php#example-api-generate-text-insert-post

Jim, I would have included you but we never got together. :P


Spero di esservi stati utile.. fino a quando il buon vecchio carlo non produca la mod...


PS: non so neanche se puo servire!!
PSII: se cercare form to topic sul phpbb.com trovare una mod ma i link sono rotti.. magari tra quelli che hanno risposto al messaggio ce qualche d'uno che la ha ancora!! magari se lo pregate ve la possono postare!!
ImmagineImmagine


[center]Immagine[/center]

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da gennyna » 09/02/2010, 17:30

eh mi sà che non ce la faranno dobbiamo torvare altri metodi.. mi metto in cerca

Gelmo
Utente
Utente
Messaggi: 506
Iscritto il: 20/04/2009, 9:27
Versione: 3.0.5
Server: Windows

Re: [DEV] Da Modulo a Topic

Messaggio da Gelmo » 09/02/2010, 21:10

io sul mio sito.. lokodb.com..
tra le mille mila mod che mi sono trovato installato dal portale.. ho trovato anche questa che mi permetti di creare un forum che gli utenti possono compilare.. per la richiesta di aiuto.. ma non so se si puo modificare.. da quanto ho capito si..
ImmagineImmagine


[center]Immagine[/center]

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: [DEV] Da Modulo a Topic

Messaggio da Carlo » 09/02/2010, 22:23

Forse intendi "form", e non "forum".
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Bloccato

Torna a “MOD Abbandonate”

Chi c’è in linea

Visitano il forum: Nessuno e 32 ospiti