Page 5 of 9

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 19. December 2009 01:35
by Dr Nick^
hey swinder,

well someone some posts above asked the same thing.

i will try to look into it,
what i'm thinking of:

acp -> setting wowhead tooltip armory name enable/disable
acp -> setting realm regio
acp -> setting realm name
(assuming you run 1 site for 1 guild/realm ofc)

then with some little adjustments it is possible to create, with minor to 0 style changes.

if thing will help you/others let me know, hope to have some free time @ work tomorrow ;)

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 19. December 2009 18:58
by wrath99
Hey any chance of adding Radio buttons and Check mark boxes the the list of available questions?

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 24. December 2009 20:25
by Miraculix
Hey there,
at first sry for my bad gramma :P im german
second very nice Mod i totaly love this :mrgreen:

but i found one or tow big bug's ....

when you fill out the Application form and push the create button you get the Information that your application is created ... and Klick this to see your post ...
but when you refrech this you would create dubble posts .. or triple so in fact it depends on how much you refrech the site

and based on this you get mohr Posts shown in your Profile

is a fix anywhere for this ??

or is some body so nice and mak one ??


and Happy X-mas from Germany

greetz

Miraculix

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 27. December 2009 21:30
by Dr Nick^
this bug i will try to fix asap.
the rest of the above changes will have to come later,
holidays, snowboarding, hey everyone has them ;)

week or 2 when i'm back and ready to roll (also less busy weeks then)

aight, nick out

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 28. December 2009 16:20
by talonos
well i had alook at the code, i got it carrying the style into the application form for multistyle forums. heres how i done it

open:includes/functions.php

find

Code: Select all

'SITE_LOGO_IMG'			=> $user->img('site_logo'),
add after

Code: Select all

'U_APPF					=> append_sid("{$phpbb_root_path}application.$phpEx"),
now this depends on which recruitment block you use as some might have a diffrent reference

open:styles\prosilver\template\portal\block\recruitment.html

replace all reference of

Code: Select all

{PORTAL_RECRUITMENT_LINK}
with

Code: Select all

{U_APPF}
now save your work and purge your cache

ok so i got that working but what about the link that takes you from the form to the forum..... this is where i'm having trouble

inside portal/block/applicationform.php @ line 124 is

Code: Select all

		'S_DISPLAY_APPFORUM_ADDRES' => './viewforum.php?f=' . $portal_config['portal_applicationform_forumid'],
i tried to make this an append_sid to carry the forum style on but it just breaks the form... any help would be great also thanks on this great mod dr.nick

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 28. December 2009 22:38
by Miraculix
talonos wrote:well i had alook at the code, i got it carrying the style into the application form for multistyle forums. heres how i done it

open:includes/functions.php

find

Code: Select all

'SITE_LOGO_IMG'			=> $user->img('site_logo'),
add after

Code: Select all

'U_APPF					=> append_sid("{$phpbb_root_path}application.$phpEx"),
now this depends on which recruitment block you use as some might have a diffrent reference

open:styles\prosilver\template\portal\block\recruitment.html

replace all reference of

Code: Select all

{PORTAL_RECRUITMENT_LINK}
with

Code: Select all

{U_APPF}
now save your work and purge your cache
if i understand correct .. this will fix the doubble post problem ?

and for the "How many Post do you have but " there isn't one sry my bad :) i looked into the ACP and found out you can set permissions for that than the post's won't be counted.
greetz
Miraculix

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 29. December 2009 12:21
by talonos
no it doesn't stop the double posting, it only carries the style over for people who have the style selector active

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 2. January 2010 12:20
by FDCP_NEO (NL)
Looks rely nice I'm going use this mod to!

Thank u for the mod! :D

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 16. January 2010 16:49
by Dr Nick^
sorry for the late reply but i finally got it fixed,
holidays vactions buzzy times aint good to do.

bug fix is included in the new files:

- Application Form v3.1.1b board3 Portal v1.0.3
- Application Form v3.1.2b board3 Portal v1.0.4

or if you dont want to change that much,
download your package, and get : 'root/portal/block/applicationfrom.php' and overwrite it with server currents.
and if you edited that file too.. well then check the differences ;) 2 lines hint hint

* looking for the wowhead tooltip update soon, have to think some things out.

Nick

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 16. January 2010 17:12
by Dr Nick^
Hey talonos,

if that solution really works (maybe if someone other uses it too let me know!)
then i can try to implement it correctly in the installation / code further on.

then again, i tried to do the append_sid as you said, but for me it works,
correct me if i misunderstood or something but:

Code: Select all

		'S_DISPLAY_APPFORUM_ADDRES' => append_sid('./viewforum.php?f=' . $portal_config['portal_applicationform_forumid']),
in my code works,
i must say, i work with direct link comming in, (dont have it linked to recruitment block) which hasnt a specifik ID set,
so maybe this is what you tried, maybe not, but for me, i didnt get break downs (yes purged/refreshed 10times)

Nick

i always apppreciate (or how you write it) other people's involvement, together we get furter down the road then alone ;)

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 17. January 2010 15:20
by talonos
just tried your way then and it worked fine for me Dr Nick^. i must of had a typo of something in my coding. glad i finally got that fixed now. just updated to newest version n looks like the repost bug is gone

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 30. January 2010 16:10
by spaceman
n00b question, so sorry.

How can I view Forum ID's so I can get an application submitted to the correct sub-forum. Ta. :mrgreen:

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 30. January 2010 16:55
by spaceman
Aha! One way is in the address bar, e.g.:

Code: Select all

http://<your.domain/board/>/viewtopic.php?f=x
x= a number which is the forum ID. :mrgreen:

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 30. January 2010 17:39
by Dr Nick^
good boy ;)

Re: [Rel] (WoW) Application form + ACP sup. (v3.1.x)

Posted: 7. February 2010 14:42
by FDCP_NEO (NL)
Is there a way to install this mod without the use of the portal? And if yes how do I do that?

Thx