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)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Heaven 04-09-2006 09:24 PM

If I change the following line:
$newpost['username'] =& $vbulletin->userinfo['username'];

to
$newpost['username'] = 'Anonymous';

Will the author of the posted thread always be Anonymous? That's what I'm looking to do. Sorry for the dumb question, I'm not a coder.

Abe1 04-09-2006 10:36 PM

Quote:

Originally Posted by Heaven
If I change the following line:
$newpost['username'] =& $vbulletin->userinfo['username'];

to
$newpost['username'] = 'Anonymous';

Will the author of the posted thread always be Anonymous? That's what I'm looking to do. Sorry for the dumb question, I'm not a coder.

Nope. Unless that is a real user I think.

MrPatience 04-10-2006 09:16 PM

Thanks Abe1 for this hack, it is great! Just installed few days ago and it is working perfect.

I have only a question. Sorry if this has been answered before, I searched through the thread and didnt find an answer... I'm running a non-English forum, and I tried to translate the buttons to Send, Reset and Preview form. But when I try things like this:

HTML Code:

<input type="submit" value="Enviar" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="submit" value="Previsualizar" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="reset" value="Reiniciar" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" />

then the Reset button does not seem to work, and clicking on Enviar(Submit) does a preview (and the thread is not posted). What am I doing wrong?

Thanks in advance

Abe1 04-11-2006 12:06 AM

Quote:

Originally Posted by MrPatience
Thanks Abe1 for this hack, it is great! Just installed few days ago and it is working perfect.

I have only a question. Sorry if this has been answered before, I searched through the thread and didnt find an answer... I'm running a non-English forum, and I tried to translate the buttons to Send, Reset and Preview form. But when I try things like this:

HTML Code:

<input type="submit" value="Enviar" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="submit" value="Previsualizar" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="reset" value="Reiniciar" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" />

then the Reset button does not seem to work, and clicking on Enviar(Submit) does a preview (and the thread is not posted). What am I doing wrong?

Thanks in advance

I;m not really sure. I believe I have these values hard coded into the hook for submission. I'm not sure why the rest whould not work though.

mcgrco 04-11-2006 01:01 PM

Hi, I'm currently working for the Medcorps NGO on a project that's allows cambodian doctors to communicate with a network of international doctors. http://www.medicorps.com/updates/cambodia.html
i have only got programming experience in MS Access VBa and implemented a solution using access with outlook integration. Although this works on small scale the project really should be online so it can be rolled out across Cambodia and many other poor countries. The key to its success is the simplicity of the input forms for the doctors. i.e pull down list and simple text boxs should be used to create the first post. the doctors have little or no computer expereince so this is really vital to sucess.

I am in the process of installing the vbulletin softwear which the company kindly donated to Medicorps. Is there anyone out there that could provide guidance to a vbulletin newbi on how i can get my access forms on the web. My concern is that the form is very long (its tabbed in access) and i have no web design experience. Any help is greatfully appreciated.
Thanks in advance

ca99uk 04-11-2006 04:20 PM

Hello Abe,

Just want to say thank you for all your hardwork with this hack. Subscription now works great and it does exactly what I needed. Fantastic hack, great dev...

Thanks!!!!

Mindwarp 04-11-2006 06:12 PM

ok so I know I have to be missing an easy step. But I got this stupid flu and I just can't think straight today.

I created another form and named it ModApp but when I goto

http://www.mysite.com/board/newthread.php?do=ModApp

I get
Quote:

Invalid Forum specified. If you followed a valid link, please notify the administrator

Abe1 04-11-2006 10:55 PM

Quote:

Originally Posted by Mindwarp
ok so I know I have to be missing an easy step. But I got this stupid flu and I just can't think straight today.

I created another form and named it ModApp but when I goto

http://www.mysite.com/board/newthread.php?do=ModApp

I get

It may be conflicting with another hack.

akanevsky 04-11-2006 11:01 PM

Why does this hack integrate such a large block of code into a single showthread hook? It'd be much more practical if you had this in a separate file. It would also make this hack more compatible with others... :(

TheFocusElf 04-11-2006 11:08 PM

I want to thank you Abe, in this case it is not just enough to "click install," my friend had me install it on his MMORPG clan's website with some minor edits of my own (just to modifiable code that you indicated in the file), and he writes me daily telling me how nice it has made his "clan's" recruiting go.

So I am passing it on.

-Scott


All times are GMT. The time now is 08:59 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.01611 seconds
  • Memory Usage 1,752KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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