vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   group.php?do=create / group.php Help ?? (https://vborg.vbsupport.ru/showthread.php?t=285401)

vBMerkezi 07-10-2012 08:32 PM

group.php?do=create / group.php Help ??
 
Hi,

I asked my question the wrong issue. sorry

Created in Dreamweaver List Menu, and Text Field socialgroups_form the template, you want to publish them.

https://vborg.vbsupport.ru/external/2012/07/42.jpg

This added to the tables in these areas group.php want to emergence.

https://vborg.vbsupport.ru/external/2012/07/43.jpg

How do I do?

_________________________________

https://vborg.vbsupport.ru/external/2012/07/42.jpg

1. Code ;

<select name="select">
<option>Başvuru Kapalı</option>
<option>Başvuru A?ık</option>
<option>Teğmen</option>
<option>Y?z Başı</option>
<option>Bin Başı</option>
<option>Yarbay</option>
<option>Albay</option>
</select>

2. Code ;

<input type="text" name="textfield">

3. Code ;

<input type="text" name="textfield">

--------------- Added [DATE]1342007399[/DATE] at [TIME]1342007399[/TIME] ---------------

That will help?

BirdOPrey5 07-11-2012 11:56 AM

I have no idea what you are asking. Please stop PMing me- If I see a post and I can answer it, i will. PMing me does not help.

Thanks.

kh99 07-11-2012 12:45 PM

OK, comparing this and the other threads you started, I'm guessing that you've added fields to the socialgroup_form template and now you want to save those fields so you can display them somewhere else? That's a little difficult to explain, and I can't explain it all without seeing more. What you really need to do is examine the vbulletin code in group.php and understand how it works, then you will know how to add your own fields.

But to start with, the html you added to the form needs unique names for each input field and values for the options, like:

Code:

<select name="some_person">
<option value="Başvuru Kapalı">Başvuru Kapalı</option>
<option value="Başvuru A?ık">Başvuru A?ık</option>
// and so on
</select>

2. Code ;

<input type="text" name="some_text">

3. Code ;

<input type="text" name="some_other_text">


(obviously those are only examples. You would probably want them to be names that make some sense to you).

Then in a plugin (probaby two plugins, using both the group_doedit and group_docreate hooks), you would want to do something like:

Code:

$vbulletin->input->clean_array_gpc('p', array(
    'some_person'      => TYPE_STR,
    'some_text'        => TYPE_STR,
    'some_other_text'  => TYPE_STR,
));


Your values would then be in $vbulletin->GPC['some_person'], for instance. You'd need to arrange to have them saved in the database somewhere, and read them back out when you need them.

I hope this helps - sorry I don't have the time to figure it all out for you. If you're not a php programmer you might have to think about paying someone to do this for you.

vBMerkezi 07-11-2012 07:38 PM

I ask my question now

I make some adding in socialgroups_form template. and I taken pic. I numbered which make added.

https://vborg.vbsupport.ru/external/2012/07/42.jpg

I want to see which added system in group.php. I gave number in that pic like 1,2,3. I want to see numbered like 1-1,2-2,3-3. I did this regulation on dreamweaver. I gave 1st,2nd and 3th code and I want to integrate to system. how can ı do that? I dont know anything about vBulletin. who want to help to me about that

https://vborg.vbsupport.ru/external/2012/07/43.jpg

__________________________________________________ __________

https://vborg.vbsupport.ru/external/2012/07/42.jpg

1. Code ;

<select name="select">
<option>Başvuru Kapalı</option>
<option>Başvuru A?ık</option>
<option>Teğmen</option>
<option>Y?z Başı</option>
<option>Bin Başı</option>
<option>Yarbay</option>
<option>Albay</option>
</select>

2. Code ;

<input type="text" name="textfield">

3. Code ;

<input type="text" name="textfield">

vBMerkezi 07-13-2012 05:46 PM

????

--------------- Added [DATE]1342286050[/DATE] at [TIME]1342286050[/TIME] ---------------

???

vBMerkezi 07-16-2012 12:08 PM

???

--------------- Added [DATE]1342511476[/DATE] at [TIME]1342511476[/TIME] ---------------

???

vBMerkezi 07-18-2012 05:02 PM

???

Simon Lloyd 07-18-2012 05:50 PM

Continually bumping this thread with "???" will get you nowhere!, KH99 gave you a solution you can start to work with but all you did was state your question again!


All times are GMT. The time now is 03:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01013 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete