Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
5 Endorsements
Ranked #341
Member Avatar for ChrisJ

I've added a SweetAlert into an existing upload Form, where upon selecting the Submit button it successfully displayed the pop-up alert. Like so: $('#submit-btn').on('click',function(e){ e.preventDefault(); var form = $('.pt_upld_page_frm'); swal.fire({ title: "Are you sure?", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, submit it!", closeOnConfirm: false }).then((result) => { if …

Member Avatar for SolidSolutions
0
142
Member Avatar for ChrisJ

I'm trying to add something to this JS, for a successfully working submit Form: $('#upload-form form').ajaxForm({ url: '{{LINK aj/ffmpeg-submit}}?hash=' + $('.main_session').val(), beforeSend: function() { $('#submit-btn').attr('disabled', true); $('#submit-btn').val("{{LANG please_wait}}"); }, success: function(data) { if (data.status == 200) { window.location.href = data.link; } to get a message to display before the Form …

Member Avatar for Vijay_34
0
82
Member Avatar for ChrisJ

This works successfully: $wallet = $user->wallet; $upwallet = ($sell_video == 0 && $wallet >= 1 ? 0.5 : 0); $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet`- '".$upwallet."' WHERE `id` = '".$video->user_id."'"); (when the sell_video amount is 0 and the wallet amount >= 1, deduct 0.5 from the wallet). Works successfully. I'd …

Member Avatar for gce517
0
105
Member Avatar for ChrisJ

This php statement works successfully: if (empty($error) && $_POST['set_p_v'] == 0 && $wallet >=1) { //echo '<script type="text/javascript"> $("#myModal").modal("show")</script>'; $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet` - 0.50 WHERE $wallet = $user->wallet"); } as you can see I tried to echo a modal when conditions were met, but no success. No …

Member Avatar for Dani
0
100
Member Avatar for ChrisJ

Is there any point to putting hashtags in your Instagram profile bio? Will those be found in a search? Can a posting's caption & info be edited after posting? Also, I have a domain name, and I have that domain name as my IG username, but someone else has an …

Member Avatar for bijutoha
0
66
Member Avatar for ChrisJ

How to filter YouTube search results for just USA? Google search of that question shows: Settings > General > Location > Select your country, but I've done that and still searching a word or phrase on YT doesn't get me just USA results only. Any ideas regarding how to do …

Member Avatar for rproffitt
0
34
Member Avatar for ChrisJ

Can you please tell me what these lines of code do? $sub_category = 0; if (!empty($_POST['sub_category_id'])) { $is_found = $db->where('type',PT_Secure($_POST['category_id']))->where('lang_key',PT_Secure($_POST['sub_category_id']))->getValue(T_LANGS,'COUNT(*)'); if ($is_found > 0) { $sub_category = PT_Secure($_POST['sub_category_id']); } } I look forward to any assistance

Member Avatar for Dani
0
59
Member Avatar for ChrisJ

I'm trying to modify a web script. Currently, upon uploading a video, in the upload Form, among other things, the uploader chooses a sub-category and enters tags and then submits/uploads. I'd like the sub-category that is selected, to also be searchable as a keyword. Presently, the 'videos' table has a …

Member Avatar for AndrisP
0
75
Member Avatar for ChrisJ

I’m trying to modify a web script where a drop-down works successfully. How can another drop-down field appear only after a selection has been made from the first drop-down list? Here’s the current code: <?php if ($pt->page == 'category' && $pt->show_sub == true) { ?> <div class="pull-right col-md-3 no-padding-left"> <select …

0
44
Member Avatar for ChrisJ

I am trying to display something on web pages that show this in the url: "sub__" for example: ...com/videos/category/1/sub__536. It was suggested I try this code: $page = basename($_SERVER['PHP_SELF']); if ($page=="....") { echo Hello World; } elseif ($page=="....php") { Some Other code... } but I don't know where to place …

Member Avatar for Dani
0
31
Member Avatar for ChrisJ

This php has subcategory code on line 149 and 215 https://pastebin.com/zgbELKJf can you tell me if this file outputs a subcategory page?

Member Avatar for Dani
0
46
Member Avatar for ChrisJ

This code below works successfully to capture/record/play video - after camera access permission is granted - when the start button is selected. I'm trying to add the functionality where (after camera access is allowed) the camera view appears, without recording starting automatically (And have the camera view displayed while recording). …

Member Avatar for rproffitt
0
31
Member Avatar for ChrisJ

This html web page code, when viewed via mobile device, captures video from the mobile device. By tapping the page, the mobile video full screen appears, ready to begin recording. I'd like to find a way to reduce the dimensions of that full screen, if possible. I'm guessing it might …

Member Avatar for Dani
0
61
Member Avatar for ChrisJ

Is it possible to add scrolling text across the page/video-camera-screen? On an html page, it uses this code: accept="video/*" in this context: <input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();"> and when you view the page via mobile, and tap the page, your video camera screen appears. I'm looking to see …

Member Avatar for rproffitt
0
197
Member Avatar for ChrisJ

I am trying to modify a existing web script's Upload Form where, currently you choose a Category...etc. and Submit. When a Category is chosen, I'd like another dropdown list of choices to display. Here is the code currently: <div class="form-group"> <label class="col-md-12" for="category_id">{{LANG category}}</label> <div class="col-md-12"> <select name="category_id" id="category_id" class="form-control"> …

Member Avatar for Dani
0
29
Member Avatar for ChrisJ

I am trying to display some text "THIS IS A TEST" on the html page. I am getting this error: "Notice: Undefined variable: text1 in /home/public_html/themes/videos/content.html on line 23" Here is the php file ( I added line 35 and 39): <?php declare( strict_types=1); // these should be set in …

Member Avatar for coreyavis
0
309
Member Avatar for ChrisJ

I am using a php web video script which allows Users to purchase videos successfully. The purchases are made from the amount available in the Users’ 'wallet' (the User can also earn compensation, which gets added to his earnings 'balance'). When there’s not enough available in the 'wallet' for the …

Member Avatar for alan.davies
0
481
Member Avatar for ChrisJ

When I download a gif from my website script, it appears like a thin line. I expected to see the 1" by 1" graphic solid color image that appeared on the site. Is it just a thin line that expands once the web page size is set? How does this …

Member Avatar for DistantGalaxy
1
271
Member Avatar for ChrisJ

I have this Form that works successfully (I know it's not state-of-the-art). I simply want to add code to make Contact Name field mandatory. Can you help me? I don't know how much code I should post. Here's some: <script type="text/javascript"> function checkemail(){ var str=document.myform.email_address.value; var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; if (filter.test(str)) testresults=true; …

Member Avatar for Echo89
0
146
Member Avatar for ChrisJ

To deploy an application in red5 webapps directory, is that something that can be explained in a forum posting? Or would I need to hire a consultant for that? Thanks

0
54
Member Avatar for ChrisJ

To deploy an application in red5 webapps directory, is that something that can be explained in a forum posting? Or would I need to hire a consultant for that? Thanks

Member Avatar for Airshow
0
51
Member Avatar for ChrisJ

I have tried to modify the PHP in an OSCommerce file, while trying to get my OSCommerce site up. I have apparently created the following Parse error: ....... /create_account_success.php on line 16. I am not a programmer and no very little PHP. Is it acceptable to paste the PHP here …

Member Avatar for anonymousabyss
0
277
Member Avatar for ChrisJ

Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish this? It's ben suggested …

Member Avatar for abhihome
0
88
Member Avatar for ChrisJ

Thanks for looking here. I'd like to move the list of thumbnails that appears on the serch page of this php script (see attached). They appear on the left side of the right column. I'd like them to appear on the right side of the right columns and was told …

Member Avatar for ShawnCplus
0
101
Member Avatar for ChrisJ

In a php script I'm using the Registration page only had fields for name and email address, basically. I added fields, just by copying the code on the page. I added Address1, Address2, City and State. Then I added those fields to the mysql db. However, I need help with …

Member Avatar for ChrisJ
0
306
Member Avatar for ChrisJ

Can Crystal Reports be used with MySQL? If not, what reporting tool do you recommend?

Member Avatar for furqan219
0
72
Member Avatar for ChrisJ

If you're familiar with Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish …

Member Avatar for peter_budo
0
178
Member Avatar for ChrisJ

Can you tell me which part of this code is the Input Box(browse box field) and the Submit Button, please? Thank you. [CODE]<%@ Language=VBScript %> <% option explicit Response.Expires = -1 Server.ScriptTimeout = 600 %> <!-- #include file="aspupload.asp" --> <% ' **************************************************** Dim uploadsDirVar uploadsDirVar = "C:/Documents and Settings/TAinput/" ' …

Member Avatar for Lorand24
0
145
Member Avatar for ChrisJ

I'm using FreeASPupload script and it works successfully. I'd like to get some guidance on how to modify to add a second Browse Box and second Submit Button, so these uploaded files can go to a second directory destination. Thanks. I believe this is the script page (of two) that …

0
58