Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Man2u2uk

Members
  • Joined

  • Last visited

Everything posted by Man2u2uk

  1. Contact form has been added and slider has been amended. Does anyone think the slider is a bit slow in IE?
  2. Still working on the slider, contact form and shaded headings but about me page has been added and twitter feed has been moved to right menu. A few new posts have been added as well.
  3. Thanks, i will try to get some time over the weekend to look at your suggestions.
  4. Thanks, i feel the same about the slider. Just cannot get the right trade off between the picture sizes and slider size.
  5. Hi All, It's been a while since I have posted on this forum, but I thought I would see what reviews I get the for the following site that I made for my partner the other week. (I know its going to be hard to review as WordPress provided the platform and half the hard work is already done.) http://www.rouge-mua.co.uk/blog/ I've made the above blog using WordPress and then installed a few plugins to customise every part of it down to the register/logon pages. I have also tried to apply SEO as best as I could using the yoast plugin making sure that all the page titles, alt/title tags, content, meta descriptions and tags were as appropriate as possible.
  6. I have now solved this issue. - Please close.
  7. Hi All, I now have the following code <a href="<?php echo (defined('S2MEMBER_CURRENT_USER_LOGIN') ? S2MEMBER_CURRENT_USER_LOGIN : post_name);?>/">Client Area</a> But it's still not redirecting the user if they don't have a page created? Any help would be great!
  8. UPDATE: I have managed to create a hyperlink which takes the current logged in users username and redirects them to their page if created. ><a href="?php echo S2MEMBER_CURRENT_USER_LOGIN; ?>/">Client Area</a> My next question is: How can i wrap this in an if statement to say that if the username does not = a page name then redirect them to the home page?
  9. Hi, I'm currently using the s2member plugin to allow me to create a client portal where users can log in and visit their own secure unique page. (This uses custom capability and the page must be called the same as their username.) But then i also have people that just log on to view my blog and are not clients. My question is. Can i have a link called "My Page" and have some code which says if page name = username then redirect to their page if not then redirect to home page? Any code help would be great.
  10. Many thanks for your help!, i just changed the formatting and it all works fine
  11. Hi All, I have recently tried to add an age verification script to one of my websites. When the user visits the page its asks for their date of birth. if their over 18 it forwards them to the correct page and if there not then an alert box pops up saying so and does not let them proceed any further. This script works fine in Firefox, but in IE it lets them view the page regardless of if there over 18 or not. ***Form*** - I have removed the form action for posting purposes <h1>Age Verification Check</h1> <div align="center"> <p> </p> <p><strong>Due to the nature of these photos, please prove that you are 18 or over.</strong></p> <p> </p> <form action="Removed" method="get" name="age_form"> Day: <select name="day"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> </select> Month: <select name="month"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> </select> Year: <select name="year"> <option>2003</option> <option>2002</option> <option>2001</option> <option>2000</option> <option>1999</option> <option>1998</option> <option>1997</option> <option>1996</option> <option>1995</option> <option>1994</option> <option>1993</option> <option>1992</option> <option>1991</option> <option>1990</option> <option>1989</option> <option>1988</option> <option>1987</option> <option>1986</option> <option>1985</option> <option>1984</option> <option>1983</option> <option>1982</option> <option>1981</option> <option>1980</option> <option>1979</option> <option>1978</option> <option>1977</option> <option>1976</option> <option>1975</option> <option>1974</option> <option>1973</option> <option>1972</option> <option>1971</option> <option>1970</option> <option>1969</option> <option>1968</option> <option>1967</option> <option>1966</option> <option>1965</option> <option>1964</option> <option>1963</option> <option>1962</option> <option>1961</option> <option>1960</option> <option>1959</option> <option>1958</option> <option>1957</option> <option>1956</option> <option>1955</option> <option>1954</option> <option>1953</option> <option>1952</option> <option>1951</option> <option>1950</option> <option>1949</option> <option>1948</option> <option>1947</option> <option>1946</option> <option>1945</option> <option>1944</option> <option>1943</option> <option>1942</option> <option>1941</option> <option>1940</option> <option>1939</option> <option>1938</option> <option>1937</option> <option>1936</option> <option>1935</option> <option>1934</option> <option>1933</option> <option>1932</option> <option>1931</option> <option>1930</option> <option>1929</option> <option>1928</option> <option>1927</option> <option>1926</option> <option>1925</option> <option>1924</option> <option>1923</option> <option>1922</option> <option>1921</option> <option>1920</option> <option>1919</option> <option>1918</option> <option>1917</option> <option>1916</option> <option>1915</option> <option>1914</option> <option>1913</option> <option>1912</option> <option>1911</option> <option>1910</option> <option>1909</option> <option>1908</option> <option>1907</option> <option>1906</option> <option>1905</option> <option>1904</option> <option>1903</option> </select> <input type="submit" name="date" value="Go" onClick="return checkAge()"> </form> </div> ***Javascript Age Check*** function checkAge() { var min_age = 18; var year = parseInt(document.forms["age_form"]["year"].value); var month = parseInt(document.forms["age_form"]["month"].value) - 1; var day = parseInt(document.forms["age_form"]["day"].value); var theirDate = new Date((year + min_age), month, day); var today = new Date; if ( (today.getTime() - theirDate.getTime()) < 0) { alert("Sorry, You Are Too Young To Enter This Page!"); return false; } else { return true; } }
  12. Hi pat24, I have only just seen your post, but i tried Shaun's suggestion last night and it worked fine. Thank you both for your input.
  13. Thanks, I'll give that a go when i get home from work, Thanks once again
  14. Hi Shaun, I have used the following CSS: .whitetext { color: #FFFFFF; } I have applied the CSS to an HTML link and it works fine, but when applied within PHP it won't Thanks
  15. Hi All, Im trying to apply some CSS to an echo statement and it will not work. The echo is still printing, its just not applying the CSS, i have used the CSS on another HTML page so i know the CSS is correct. I'm not that good with PHP and because of this, its probably a simple mistake with a " or ' echo "<p class=\"whitetext\"><a href=\"menu.html\">View The Shoutbox</a></p>"; Thanks in advance
  16. Hi All, Sorry it's took me so long to reply, but i have not been doing much website design recently due to a new job. I just wanted to thank everyone for their input and mention that the following code solved my issue ("SELECT * FROM mg_gallery_tbl WHERE category='".$cat_name."' OR second ='".$cat_name."' ORDER BY photographer ASC") Thanks once again
  17. Thats correct webdesigner93 i want both to be pulled at the same time. category='".$cat_name." (Pictures 1st category is stored) second='".$cat_name." (Pictures 2nd category is stored) Just not sure how to get both at the same time?
  18. Hi, When a user uploads a photo, they can assign it to more then one category from choices in two drop down boxes. At the moment, the following code works fine in displaying the pictures in one category: ("SELECT * FROM mg_gallery_tbl WHERE category='".$cat_name."' ORDER BY photographer ASC"); But when i try the following code to display pictures which are in more then one category: ("SELECT * FROM mg_gallery_tbl WHERE category='".$cat_name."' AND second ='".$cat_name."' ORDER BY photographer ASC"); No pictures at all display?
  19. Man2u2uk posted a topic in Server Side
    Hi All, Wondering if you can quickly help me with the following issue. I'm trying to get the following to work with no avail "SELECT * FROM mg_gallery_tbl WHERE category='$cat_name' AND second ='$cat_name' ORDER BY 'photographer';" Thanks in advance
  20. Hi All, I have now managed to slice up the scroll and optimse the images, but its still pretty slow.. www.storymakersuk.com I know i need to reduce the numbers of images and replace it with CSS, but i am struggling to obtain the same effect. Any help would be greatful.
  21. Thanks All, I already thought i would need the three divs, was just not sure if there was an easier way... I know the PSD is massive, thats because its the original which is about 3000 width, i only need it to be about 900. What file type would be best to save the images as to keep good quailty but small filesize? Many thanks
  22. Hi Everyone, I have been asked to create a website for a charity who go into disabled schools and put on plays and tell storys. I wanted to make a book effect website, but they all seem to be in flash. (something which i am no good at.) But i found a great photoshop file of a scroll, which i would like to use as a background. What would be the best way to do this, without it taking so long to load? Thanks in advance.
  23. Many thanks for everyone's help with this issue, but the client has now asked for a different design, which means i know do not have this issue. Thanks once again and "Merry Christmas"
  24. Hi Chris, I forgot to upload the problem version of the site, Here is the current CSS for the related #tabs section: #topnav { background: #fff url(../images/bigbox.gif) no-repeat top left; height: 64px; text-align: center; margin: 0 auto; width:1090px; } #topnav ul { padding-top:-5px; } #topnav li { color: #000; background: #fff url(../images/barbg.gif) no-repeat; background-color:#FFF; display: inline; list-style-type: none; padding: 6px; } #topnav a { float:left; background: #fff url(../images/barbg.gif) no-repeat; color: #808080; padding: 7px 0; width: 160px; text-align: center; font-weight: bold; text-decoration: none; } #topnav img { border:none; } #topnav li a:hover { background: #fff url(../images/barcurrent.gif) no-repeat; color: #000; } #topnav li a.current { background: #fff url(../images/barcurrent.gif) no-repeat; color: #2C71AE; } The tabs work as they should including the hover effect, the only issue is they are not centered. As soon as i delete "float:left;" it does center the tabs, but then messes them up even more.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.