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 09-24-2008, 12:03 AM
kano1977 kano1977 is offline
 
Join Date: Aug 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Goldbrick and invalid security token help !!

I try to add a video to my cp and get this error

Your submission could not be processed because a security token was missing ?
Reply With Quote
  #2  
Old 09-24-2008, 01:42 AM
Jacob B Jacob B is offline
 
Join Date: Aug 2008
Location: Australia
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never used Goldbrick, but it means the template is out of date.

You need to find all forms within the Goldbrick modification and put the following in before the 'Submit' buttons.

PHP Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/> 
Reply With Quote
  #3  
Old 01-27-2009, 07:55 PM
onlyfree onlyfree is offline
 
Join Date: Jan 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im searching the forms too, but i think at the moment im too stupid to get through.

anyone here, who had the same problems and can help me?

thanks
Reply With Quote
  #4  
Old 01-28-2009, 05:35 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search for "<form" and add the above below that line. (Only in the modification's templates though, as the default vBulletin ones should already have this there.)
Reply With Quote
  #5  
Old 01-28-2009, 12:45 PM
onlyfree onlyfree is offline
 
Join Date: Jan 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so now i did it in the gb_usercp_profile template, which is shown in the usercp profile where you can enter your video url:
Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />  <form enctype="multipart/form-data" action="profile.php?do=updateprofilevid" method="post">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="do" value="addprofilevideo" />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
			<td class="tcat" colspan="2">Add a Profile Video</td>
		</tr>
		<tr>
			<td class="panelsurround" align="center">
				<div class="panel">
					<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
						<fieldset class="fieldset">
							<legend><label for="sel_languageid">Goldbrick Media</label></legend>
							<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
								<tr>
									<td>Enter a video url for your profile.</td>
								</tr>
								<tr>
									<td>
										<div style="padding:$stylevar[formspacer]px">
											<if condition="$video">
												<input type="text" class="bginput" name="gb_profile_video" size="45"  value="$video" dir="ltr" />
											<else />
												<input type="text" class="bginput" name="gb_profile_video" size="45"  value="http://www." dir="ltr" />
											</if>
										</div>
									</td>
								</tr>
							</table>
						</fieldset>
					</div>
				</div>
	
				<div style="margin-top:$stylevar[cellpadding]px">
					<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
					<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
				</div>
			</td>
		</tr>
	</table>
</form>
This should work i think, but it isn't
Reply With Quote
  #6  
Old 02-01-2009, 08:14 AM
onlyfree onlyfree is offline
 
Join Date: Jan 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*push*?
Reply With Quote
  #7  
Old 02-01-2009, 03:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by onlyfree View Post
*push*?
The solution was already posted:
Quote:
Originally Posted by Dismounted View Post
Search for "<form" and add the above below that line. (Only in the modification's templates though, as the default vBulletin ones should already have this there.)
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 01: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.03981 seconds
  • Memory Usage 2,227KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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