Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2012, 08:32 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.



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



How do I do?

_________________________________



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?
Reply With Quote
  #2  
Old 07-11-2012, 11:56 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-11-2012, 12:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 07-11-2012, 07:38 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ask my question now

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



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



__________________________________________________ __________



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">
Reply With Quote
  #5  
Old 07-13-2012, 05:46 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

????

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

???
Reply With Quote
  #6  
Old 07-16-2012, 12:08 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

???

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

???
Reply With Quote
  #7  
Old 07-18-2012, 05:02 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

???
Reply With Quote
  #8  
Old 07-18-2012, 05:50 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03878 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete