Web Development

74K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

Share tech news, updates, or what's on your mind.

Sign up to Post

What Wordpress plugins or other things would be a good starting point to make a website similar to Patreon.com
0
Hello everyone! I hope you are all doing well.  I've been looking at a few Single Sign on services provider. Centrify and Azure to name a few. Any other reliable and easy to setup Single Sign on services with excellent support? I have to add about 12 different cloud apps and wanted to make sure I can find one that perhaps will support us through the implementation process since some of the apps are not common.
0
I have below codes in razor / mvc. and i hope to add two buttons (<a></a>) in the center (Remove/View). What do i need to do in css?
When the view button is clicked, just want to open the image.
When the remove button is clicked, it will remove the images from the file directory/remove a record from the database(I know how to do this one)
Not really a web designer :-(... thanks

<div class="submit-section">
   <img style="float:left;width:300px;height:300px;" src="~/images/blog-compact-post-01.jpg" />&nbsp;&nbsp;
   <img style="float:left;width:300px;height:300px;" src="~/images/blog-compact-post-01.jpg" />&nbsp;&nbsp;
</div>
0
I can't get this file to work on my local pc. The last tech who helped me with a contact form, wrote the code in aspx.net   But If I use the same format it will no longer work .  Can this file be made to not error out to  " Error 405"?   Please advise.  No I have no experience in aspx.net  but I am great at copying code from one program to another to make it work. I understand enough to be dangerous with working on websites.
0
Hi,

Had encountered unable to access to the app website due to DB is full. See attached sceenshot1 .

Had shrink it.

Some other things causes the drive full and also the down the databases.

Is there any way to find what causes the drive full? See attached sceenshot2.

What exactly is the root caused of this issue and how to prevent it from happening again?


Tks.
rims_db_full1.jpg
rims_db_full2.jpg
0
Hi,
I have an ACF checkbox in a woocommerce product. What I’m trying to do is have an if statement in my functions.php file to check to see if it’s checked and has a particular value, if so then run a function.

Would really appreciate some help on this.

Thank you
0
Hi,

I have a problem with my website: link to my site.

If I check the site from a mobile device, there are huge space after the descriptions in normal mode in mobile Chrome.  If I load it in Incognito mode, the space disappears.
I checked with Firefox Inspector in Responsive Mode: 'w-testimonials type_masonry' is 8097px, but it should be somewhere ~3836px. (at the 1st description)

Where is the problem and how can I resolve it?

Thanks advanced,
Steve
Capture.JPG
0
How can i find all video URL's and titles of all videos in a Youtube Playlist. Any site or tool that can do this the easy way.
0
Hi,
I have wordpress site that we use to sent out emails to users about different stuffs, information etc..
Users instead of logging in and replying on the sites, replies directly from the mail server.
How can I set it up such that once the first email is sent, the email conversation between user and admins can happen on the email itself but the messages get recorded in the database with the appropriate reference /tags.
0
I have the google c# api code and it works fine.But I want to get
child node : photos {height and width}.
rating
open now
weekday text
viewport

Can you help me what I need to do with the codes below? Thank

reference: https://developers.google.com/places/web-service/search


       
protected void Page_Load(object sender, EventArgs e)
        {
             WebClient wc = new WebClient();
            string jsonStr = wc.DownloadString("https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.753,-122.443&radius=10000&type=rv_park&key=AIzaSyCietasdfasdfasdfasdfxzD65Uc19X6DgrJFumdi-nCZYSHjg");
            GooglePlacesResponse gpr = (GooglePlacesResponse)JsonConvert.DeserializeObject<GooglePlacesResponse>(jsonStr);
            Response.Write(gpr.status + "<br><br>");
            foreach (results r in gpr.results)
                {
                
                Response.Write
                    (r.name + " "  + 
                     r.geometry.location.lat + " " + 
                     r.geometry.location.lng + " " +
                     r.reference + " " +
                     r.vicinity  + " " +                         
                     "<br><br>");
            }

         } 
        public class GooglePlacesResponse
        {
            public string status { get; set; }
            public results[] results { get; set; }
        }
        public class results
        {
            public geometry geometry { get; set; }
            

Open in new window

0
Redesigning a website needs a proper change.
0
I am an Access programmer. I posted a question to convert access application to web based.  Now I am planning to move to web development. I came to know there is no way you can convert or move directly to web based programs.
I appreciate if you show some guidelines to start a web program (as if I am new to development).
Appreciate your help.
0
Hi Experts,
I am new to wordpress but I had someone built a site for me in which did a so so job and I need to fix the links that are wrong.
I am trying to fix some mistakes on the pictures on the main page and can't modify the links on Pages-> Element-> Image Frame--> Pick link URL--> change the URL and I can't save or cancel and I have to refresh to page to go back to the editor.I have tried in Chrome and Edge, and have the same issue. I am running Avada and I see Avada child as active.

Please advice
0
ImageHello Experts,

I have an Article Content Type that I'd like to display all of the Articles, on separate pages based on a Choice Field Item.  Any help on how I can achieve this is very much appreciative.
Using SharePoint 2013 On-Prem.  I don't need help on creating the content type, only on how to get them to display on their own pages that are page-able.  To also include the Title, an image, and part of the Body.
 
0
Our client are calling one web API developed by us thru URL. They are getting below http response error -

406 Not Acceptable:1

What could be the reason? Previously API was called without any http request header and it worked well for many months.

my $response = $ua->get($url);

Open in new window


Suddenly we started getting above error. Now they have changed API calling code to send empty http request header with just one attribute "User Agent". They are not passing any value for this attribute. But after this change, it started working again.

my $response = $ua->get($url,'User-Agent' => '',);

Open in new window


What could be possible reasons for it to stop working suddenly and throwing back 406 error? How can I investigate?
0
0
I have a website that I have designed using dreamweaver and a template from https://www.i3dthemes.com/.

Normally (for the last couple years) when I search for my website/company on a search engine (tested with google, yahoo. and bing), I normally get a listing that is formatted something like this.

Company Name (which links to https://www.companyname.com)
 * Products (which links to https://www.companyname.com/products.htm)
 * Services (which links to https://www.companyname.com/services.htm)
 * Contact (which links to https://www.companyname.com/contact.htm)
 * About (which links to https://www.companyname.com/about.htm)

Lately, (come to my attention in the last couple of weeks), when I search, for my company, I get something that is formatted like this:

Company Name (which links to https://www.companyname.com as it should)
 * Products (which should link to to my website like before, but when clicked actually goes to http://online-rxstore.org.  When I hover over the link without clicking, it does show the correct (my website) link)
 * Random Pharmaceutical Product (which links to http://online-rxstore.org)
 * Contact (which should link to to my website like before, but when clicked actually goes to http://online-rxstore.org.  When I hover over the link without clicking, it does show the correct (my website) link)
 * About (which should link to to my website like before, but when clicked actually goes to http://online-rxstore.org.  When I hover over the …
0
Hi there. I have the following code that puts a line under each sub menu tab. However, I made it so that those pages are nested under a parent page and now that line is not showing up.

Any ideas? Here is the code I used and one of the pages I'm referring to... http://ccdenver33.staging.wpengine.com/newsroom/media-center/

.fl-menu li.menu-item.current-menu-item a {
    border-bottom: 3px solid #fff;
}
.fl-menu li.menu-item a:hover {
    text-decoration: none !important ; /*overrides another important*/
    opacity: .5;
}
.fl-menu li.menu-item.current-menu-item a:hover {
    opacity: 1;
}

Open in new window

0
Hi,

I need to write this code in global.asa. GetLastDateandTime is working fine. I need to put that in the session. If user is present then we get the data from the database. This function is working fine. If user is not present then we are using update function. My update function is not working. Page is down. I am not sure how to fix the update function.

Sub S[b]ession_OnStart[/b]

Dim objConn, objRs, strConn

Set objRs = Server.CreateObject("ADODB.Recordset")

Set objConn = Server.CreateObject("ADODB.Connection")                                                                                     

             

strConn = "test;"

 

objConn.Open strConn

dim strUser

strUser = request.servervariables("logon_user")

dim strDateAndTime = Now()       

If (strUser <> "" ) then

    Session("LastDateTime") = GetLastDateandTime(strUser, objRs,objConn)

else
[b]
   UpdateLastDateAndTime(strUser, strDateAndTime, objRs,objConn);[/b]

End If

 

Set objRs = Nothing

Set objConn = Nothing

End If

 

End Sub

 

 

Function GetLastDateandTime( ByVal strUser, ByRef objRs, ByRef objConn)

'--------------------------------------------------------------------------

'-------------------------------------------------------------------------

    Dim cmd

             

       Set cmd = Server.CreateObject("ADODB.Command")                            

       Set cmd.ActiveConnection = objConn

 

       cmd.CommandText = "usp_GetLastDateandTime"

       cmd.CommandType

Open in new window

0
Hello!

We have an intranet that's behind a username/password page and one of our biggest struggles is search. We've implemented a basic search tool and it does okay at best. If searching for the word book, it'll return pages with the word book in it. However, it runs into issues when using multiple words, quotations, and does not rank the results for the user. Our intranet is using php and CodeIgniter. I looked around at codecanyon.net for php search engine scripts, but nothing really stuck out to me. Does an expert have a suggestion on what a good search solution might be for an intranet?
0
Wordpress login for subsites not working.
I recently moved my site to IIS, everything except logins not working, I can login from main page, but from a subsite of I click login it does not work, gives me an error
0
How to get currency exchange rate in ASP.NET C#  webform .
I've using the following answer but doesn't work.
Expert Exchange Solution

Maybe google currency converter not exist. is there any other way.
aaa.PNG
0
Hi there,
If I'm searching for phrase "A B" and I define the values , for example, of A as (Red, blue, green, yellow, brown,) and B as (Jacket, hat, blouse, car), then the number of phrases I'm looking for is 20 and the number of words is 40.
Red Jacket ,Red hat, Red Blouse, Red Car
Blue Jacket etcc….  
Is there a way/tool/ search engine that would allow me to search for all the 20 phrases/40 words by just specifying A:  and B (total 9 words) (Red, blue, green, yellow, brown)?
Regards
Hashem
0
im getting this error message in my ruby on rails blog app and i have no idea why

this is my controller file:

class PostsController < ApplicationController
  def index
    @posts=Post.all.order("created_at DESC")
  end

  def new
    @post=Post.new
  end

  def show
    @post=Post.find(params[:id])
  end

  def create
    @post=Post.new(post_params)
    if @post.save
      redirect_to @post
    else
      render "new"
    end
  end

  def edit
    @post=Post.find(params[:id])
  end

  def update
    @post=Post.find(params[:id])
    if @post.update(params[:post].permit(:title, :body))
      redirect_to @post
    else
      render "edit"
    end
  end

  def destroy
    @post=Post.find(params[:id])
    @post.destroy
    redirect_to posts_path
  end

  private

  def post_params
    params.require(:post).permit(:title, :body)
  end

end

Open in new window


and this is my edit file: (i get the error when trying to delete a post and the link to the destroy path is on my edit page)

<font color="#BD004B">
    <h1 class="smallBorder">Edit Post</h1>
</font>
<br/>
<hr size="10" width="auto" color="#BD004B">

<%=render "form"%>

<ul>
  <li>
    <%=link_to "Delete", posts_path(@post), method: :destroy, data:{confirm:"Are you sure you want to delete this post?"}%>
  </li>
</ul>

Open in new window

0
Hello,

I am new here so please do not jump down my throat if my question is not formatted correctly or I am not asking the right kind of question. So on to my question. I am currently working in PHP I am new to development in PHP and I am having quite a time trying to get a form to submit then update a value each time it is submitted.

So here is the gist of it. I am submitting my form to self at which time it runs this:

<div id="quiz">
	<form method="post" id="test" action="">
		<input type="hidden" value="<?php $question->set_results() ?>">
		Answer A<input type="radio" name="answer" value="a">
		Answer B<input type="radio" name="answer" value="b">
		Answer C<input type="radio" name="answer" value="c">
		Answer D<input type="radio" name="answer" value="d">
		<input type="submit">
	</form>

class test_results{
	
	public function get_results(){
		$this->lastanswer = array();
		$this->personsanswer = $_POST['answer'];
		$this->allanswers = array_push($this->lastanswer, $this->personsanswer);
		implode($this->lastanswer);
		echo $this->allanswers;

		
	}
}

Open in new window


After this runs it seems to work but instead of updating the variable it just adds a number where I wanted it to update. All in all I just want to be able to submit a form, after submitting a form I have a hidden field in the form and I want it to update that hidden field with the ALL of the previous options chosen. I have gotten it as far as to update one option at a time but not multiple times.

My end goal is to have a questionnaire form where users fill out answers one question at a time and each time they submit the form the hidden field holds ALL of the previous answer letters in it.
0

Web Development

74K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.