vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

chet 10-15-2004 08:38 PM

It would be nice to see what this is being used for and the code that surrounds it, I would like a application for mod form but I do not know how to edit the file

Erwin 10-16-2004 12:04 PM

Quote:

Originally Posted by taffy056
Hi,

Finally figured out how to install this hack. I have a slight problem now, I keep on getting this error message:

"..you do not have permission to access this page. This could be due to one of several reasons:"

etc

I have set the permissions to allow me access but I still receive the above, any ideas?

taffy

Make sure your usergroupid is allowed.

taffy056 10-17-2004 08:57 AM

Hi Erwin,

The code looks like this at present, when I go to mydomain/forum/form.php all I get is a white page.

if (!in_array($bbuserinfo['usergroupid'], array())) print_no_permission();

When I put my usergroupid into the code I get the error message above, I am not quite sure whether I am allowing or disallowing a group when I put a number into the above code.

Thanks,
taffy

chet 10-17-2004 09:01 AM

Could somebody create me an moderators application form please

Chet

Quote:

Originally Posted by chet
It would be nice to see what this is being used for and the code that surrounds it, I would like a application for mod form but I do not know how to edit the file


Erwin 10-17-2004 12:36 PM

Quote:

Originally Posted by taffy056
Hi Erwin,

The code looks like this at present, when I go to mydomain/forum/form.php all I get is a white page.

if (!in_array($bbuserinfo['usergroupid'], array())) print_no_permission();

When I put my usergroupid into the code I get the error message above, I am not quite sure whether I am allowing or disallowing a group when I put a number into the above code.

Thanks,
taffy

You haven't entered a usergroupid - delete the whole line if you want everyone to access it.

taffy056 10-17-2004 04:35 PM

Hi Erwin,

I just started over again, and redone the templates etc, now I have a major problem with my forum, I can't go into any of the threads, if I give you an admin account on my forum can you have a look at what the problem is?

Just sent you a PM of my url, for you to have a look

taffy

Lionel 10-17-2004 08:55 PM

Erwin, I have a small problem with

<tr>
<td class="alt1"><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1a">$radiochoice1a</td>
<td class="alt1"><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1b">$radiochoice1b</td>
<td class="alt1">If $radiochoice1b, what should we use? <INPUT TYPE="text" NAME="radioanswer1other"></td>
</tr>


If I set all fields, it will not go thru. If I set it as 0, it will go thru but variable $radiochoice1b is not parsed.

Since we have two radioanswer1 choices (either 1a or 1b), it seems that the second choice 1b is not perceived as $radioanswer1. Could it be the reason why it is not going thru?

taffy056 10-17-2004 10:06 PM

Hi Erwin,

Would it be possible to put this form directly on the create 'New Thread' button, so you come directly to the form instead of creating a new thread? I have requested a hack like this for a poll, but I am still waiting for an answer.

taffy

Erwin 10-17-2004 11:17 PM

Quote:

Originally Posted by taffy056
Hi Erwin,

Would it be possible to put this form directly on the create 'New Thread' button, so you come directly to the form instead of creating a new thread? I have requested a hack like this for a poll, but I am still waiting for an answer.

taffy

Instructions to do this is in the thread itself.

I can enter your threads with no problems.

Lionel 10-17-2004 11:19 PM

I seem to have solved my problem by adding 'checked' to the first radio button

<tr>
<td class="alt1"><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1a" checked>$radiochoice1a</td>
<td class="alt1"><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1b">$radiochoice1b</td>
<td class="alt1">If $radiochoice1b, what should we use? <INPUT TYPE="text" NAME="radioanswer1other"></td>
</tr>


All times are GMT. The time now is 12:39 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.01388 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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