[ABD] phpBB3 Support Ticket System MOD

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Kirk_Fitzgerald
Registered User
Posts: 255
Joined: Mon Nov 06, 2006 7:10 am
Location: England, UK
Name: Kirk

Re: [RC1] phpBB3 Support Ticket System MOD

Post by Kirk_Fitzgerald »

A brilliant idea for a mod Mahoney, I'm having one problem I wonder if you could help me with.

I'm trying to add an additional field, I'm using this as an advanced form of bug reporting on my skin site.

I'm trying to add an input field for Skin Name, this is to appear directly below phpBB Version.

So, in posting.php I have added:

Code: Select all

		$skinname = utf8_normalize_nfc(request_var('skinname', '', true ));
BELOW:

Code: Select all

		$phpbbversion = utf8_normalize_nfc(request_var('phpbbversion', '', true ));
Then ADDED:

Code: Select all

		$s1 = $user->lang['STS_SKINNAME'];
BELOW:

Code: Select all

		$u1 = $user->lang['STS_PHPBBVERSION'];
Then ADDED:

Code: Select all

		$messagetemp .= "[b]" . $s1 . "[/b] " . $skinname . "\n";
BELOW:

Code: Select all

		$messagetemp .= "[b]" . $u1 . "[/b] " . $phpbbversion . "\n";
Then ADDED:

Code: Select all

	'STS_SKINNAME'	    => ($preview || $submit) ? request_var('skinname', '', true) : 'I am using',
BELOW:

Code: Select all

	'STS_PHPBBVERSION'	=> ($preview || $submit) ? request_var('phpbbversion', '', true) : '3.0.',
Then in prosilver/template/postng_editor.html
ADDED:

Code: Select all

			<dl>
				<dt><label for="skinname">{L_STS_SKINNAME}</label></dt>
				<dd><input type="text" name="skiname" size="45" maxlength="40" value="{STS_SKINNAME}" class="inputbox autowidth" /></dd>
			</dl>
BELOW:

Code: Select all

			<dl>
				<dt><label for="phpbbversion">{L_STS_PHPBBVERSION}</label></dt>
				<dd><input type="text" name="phpbbversion" size="45" maxlength="10" value="{STS_PHPBBVERSION}" class="inputbox autowidth" /></dd>
			</dl>
Then in phpBB3/langauage/en/mods/ticket.php
ADDED:

Code: Select all

	'STS_SKINNAME'				    => 'Name Of Skin Used:',
BELOW:

Code: Select all

	'STS_PHPBBVERSION'				=> 'Your phpBB Version:',

I have the input box with the title of:
Name Of Skin Used:
The input box has the pre-entered:
"I am using"

When I submit a test topic the value of 'Name Of Skin Used' is not being carried over to the topic, what have I missed?
I'm not overly confident with coding so it is likely I have made a fairly stupid mistake, I know something is wrong with this:

Code: Select all

		$s1 = $user->lang['STS_SKINNAME'];
but I don't know what I am supposed to do there, you have used u1 through to u0, I figured it was a variable container, but I don't know how to carry it over to the topic output if you follow me.

I hope you can help, this is a great mod.
User avatar
Kirk_Fitzgerald
Registered User
Posts: 255
Joined: Mon Nov 06, 2006 7:10 am
Location: England, UK
Name: Kirk

Re: [RC1] phpBB3 Support Ticket System MOD

Post by Kirk_Fitzgerald »

Found it.

It was a mis-spelling of the variable in this section:

Then in prosilver/template/postng_editor.html
ADDED:

Code: Select all

             <dl>
                <dt><label for="skinname">{L_STS_SKINNAME}</label></dt>
                <dd><input type="text" name="skiname" size="45" maxlength="40" value="{STS_SKINNAME}" class="inputbox autowidth" /></dd>
             </dl>

It should have been this:
Then in prosilver/template/postng_editor.html
ADDED:

Code: Select all

             <dl>
                <dt><label for="skinname">{L_STS_SKINNAME}</label></dt>
                <dd><input type="text" name="skinname" size="45" maxlength="40" value="{STS_SKINNAME}" class="inputbox autowidth" /></dd>
             </dl>
User avatar
EsmerÖzcan
Registered User
Posts: 83
Joined: Sat Jun 21, 2008 1:46 pm
Location: Germany/Nürnberg
Name: Özcan Akbulut

Re: [RC1] phpBB3 Support Ticket System MOD

Post by EsmerÖzcan »

work this with 3.0.4? (:
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [RC1] phpBB3 Support Ticket System MOD

Post by Gremlinn »

Yes. The differences between minor revisions in phpbb should not break most mods. Also, the install file does mention the latest version of phpbb that I have tested it on.
User avatar
EsmerÖzcan
Registered User
Posts: 83
Joined: Sat Jun 21, 2008 1:46 pm
Location: Germany/Nürnberg
Name: Özcan Akbulut

Re: [RC1] phpBB3 Support Ticket System MOD

Post by EsmerÖzcan »

Gremlinn wrote:Yes. The differences between minor revisions in phpbb should not break most mods. Also, the install file does mention the latest version of phpbb that I have tested it on.
thank you, I try it though

nice mod :)
isthevao
Registered User
Posts: 1
Joined: Mon Mar 16, 2009 1:58 am

Re: [RC1] phpBB3 Support Ticket System MOD

Post by isthevao »

nice mod.

I changed the questions there, and other little things, but I want to be able to edit the post with that method. I already can use the support ticket on edit, but the old values don't go to the form, do you know how can I fix this?

thank you
demonicpagan
Registered User
Posts: 5
Joined: Mon Oct 03, 2005 12:23 pm

Re: [RC1] phpBB3 Support Ticket System MOD

Post by demonicpagan »

Having some problems getting this integrated with my AeroRed theme. I've followed the install.xml up to the difference on the style/<theme>/template/posting_editor.html and style/<theme>/template/posting_layout.html as they aren't in this. They seem to be combined in the posting_body.html file.

I've gone into the ACP selected my forum category and edited it enabling the Support Ticket System (seems to be only available on the category, not the forum select drop-down - a misedit?). When I go to start a new post where I have it enabled, it's still the regular post page.

Where have I gone wrong? I can provide the requested edited files if need be.

Thanks.
demonicpagan
Registered User
Posts: 5
Joined: Mon Oct 03, 2005 12:23 pm

Re: [RC1] phpBB3 Support Ticket System MOD

Post by demonicpagan »

Anyone? Help?
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm

Re: [RC1] phpBB3 Support Ticket System MOD

Post by Mahoney »

Hello
1. Clear the cache.
2. Edit a Forum and activate the MOD.

best regards Mahoney
clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC1] phpBB3 Support Ticket System MOD

Post by clight77 »

Hi
Nice mod Mahoney
Not sure if this is right plasce to ask :0
In the input box for site url,how do i make it so the URL link is not a live link after it is submitted ?

Thanks :)
Last edited by clight77 on Sat Apr 18, 2009 3:55 pm, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...
usenet2you
Registered User
Posts: 407
Joined: Sat Mar 22, 2008 7:31 pm
Location: The Netherlands

Re: [RC1] phpBB3 Support Ticket System MOD

Post by usenet2you »

hi mahoney,


ive installed this MOD and modified it, here is the problem:

when a user has filled it the forms and then press Preview, the information that they have filled into the fields comes then in posting body.

here are the screens;
[img=http://img412.imageshack.us/img412/5237 ... osx.th.png]

look at that, when ive filled in the fields and press Preview, it comes in the posting body.

thats not normal, at my other forum all is good and when they press preview the information doesnt come in posting body.

here is my posting.php
http://www.speedyshare.com/180155872.html

hope you understand me,

do you know something?

thnx in advance!

EDIT:
Fixed! :)
lviigand
Registered User
Posts: 3
Joined: Thu Apr 16, 2009 8:57 am

Re: [RC1] phpBB3 Support Ticket System MOD

Post by lviigand »

hi.

I installed the mod but thete is no "enable support ticket system" when i create new forum :S mby I installed something wrong? :S im using subsilver2.. i also use another language pack; "estonian".. mby problem is that I copied files under "en" language pack to "estonia" ? anyway.. I hope u understand and can help me.

thanks in advance.
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm

Re: [RC1] phpBB3 Support Ticket System MOD

Post by Mahoney »

Hello
Open: language/xx/acp/forums.php (xx = your language)
Search

Code: Select all

'TYPE_LINK'			=> 'Link',
Add After

Code: Select all

//Support Ticket System MOD Beginn
	'STS_ENABLE'		=> 'Enable the SupportTicket Assistant',
	//Support Ticket System MOD End

best regards Mahoney
lviigand
Registered User
Posts: 3
Joined: Thu Apr 16, 2009 8:57 am

Re: [RC1] phpBB3 Support Ticket System MOD

Post by lviigand »

okey, I have another problem to be solved :oops: when i edit "ticket.php" and "posting_body" and change the questions how I need them and then fill the fields and press "preview" or "submit" then nothing appears in the post. and when I change ti back to default.. it works :S Or is there another place to edit questions?

any1 knows what the problem is?

ty!
Last edited by lviigand on Mon Apr 27, 2009 6:15 am, edited 1 time in total.
User avatar
dragnaar
Registered User
Posts: 43
Joined: Sun Jan 25, 2009 10:56 pm
Location: Crimea

Re: [RC1] phpBB3 Support Ticket System MOD

Post by dragnaar »

whether to add Support Ticket System MOD to Mini Knowledge Base?
Its possible?

Return to “[3.0.x] Abandoned MODs”