vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!) (https://vborg.vbsupport.ru/showthread.php?t=108888)

blacklancer 03-21-2006 07:03 PM

i'm retarded! http://www.sclc.net/forum/images/smilies/lmao.gif

Gio~Logist 03-22-2006 01:18 AM

lol. It's ok. Hope all goes well.

Everyone, feel free to make suggestions via PM for the premium version.

Rankine 03-22-2006 06:40 AM

Hi John, great great work.... This hack is what i need for my forum. ;)
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
Code:

$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
          $cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";
                       
      /*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/

As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian ;)
Clicked install obviously ;)

Jonathan22 03-22-2006 08:22 AM

Has anyone got any detailed installation instructions for this hack? Some of us need a bit more guidance with step 1 and 2.

Step 1. Import the following product: product-extra_threadfields.xml (How?)
Step 2. Upload the files in the upload folder. (How?)
Step 3. Do the edits located below
Step 4. Edit the newly added options in admincp as you please
Step 5. Enjoy the hack.

Thanks,

Rankine 03-22-2006 09:28 AM

@Jonathan :
Step1 : Import the following product : product-extra_threadfields.xml
Go into your Admin C.P. There is "Plugin System" open and you find the voice Manage Products. Click on this.
On the left there is a link Add/Import Product : Select from your hd the file product-extra_threadfields.xml and import ;)

Step 2 : You have to upload with a Ftp client into your forum dir.
You have 2 dir admincp and includes in file... Put this dir in same place on your forum dir. ;)

Gio~Logist 03-22-2006 09:28 AM

Quote:

Originally Posted by Rankine
Hi John, great great work.... This hack is what i need for my forum. ;)
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
Code:

$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
          $cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";
                       
      /*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/

As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian ;)
Clicked install obviously ;)

Hm. That's strange. Well, atleast you got it to work :p. By the way, who's John?

Rankine 03-22-2006 10:22 AM

ehm.... gio... :D right... However john is near yuor real name Lol.... by the way excuse me for mistake :)
however It's not possible to use button? :)

Jonathan22 03-22-2006 12:39 PM

Quote:

Originally Posted by gio~logist
$threadfield[description] can be used in a template :p I just didn't automatically include it because i didn't think everyon would want it there.

How do I do this?

Jonathan22 03-22-2006 12:52 PM

Is it possible to set a default for Radio Sets? So that if for example, you had Yes and No, Yes was automatically selected.

Gio~Logist 03-22-2006 04:09 PM

Quote:

Originally Posted by Jonathan22
How do I do this?

Insert that in the template newthread_extra_fields


All times are GMT. The time now is 09:31 AM.

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.01509 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete