General discussion

Place for discussing all the general topics

231
5
Szmycu posted Dec 10 '19 at 5:09 pm

Is there any variable or something to change to made codoforum works on SSL site https or I have to change all the urls in files to not have that errors?

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure font '<URL>'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure font 'http://forum.tibiaservers.net/sites/default/themes/default/fonts/fontawesome-webfont.woff2?v=4.7.0'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure font 'http://forum.tibiaservers.net/sites/default/themes/default/fonts/fontawesome-webfont.woff?v=4.7.0'. This request has been blocked; the content must be served over HTTPS.

47
0
kdddcv posted Jan 3 '20 at 4:46 am

Powdered milk is wealthy in calcium and low in energy similar to 1%, skim or 2% dairy milk. But, because all the water has been removed, powdered milk does not water down this beverage.

129
1
Geroma posted Sep 26 '19 at 10:28 am

On my registration form i want to
include 3 local governments out of
out which the user will select 1 by use of radio
Input type. Each local govt will have towns
of Origins. What i want is the code or script
that the town chosen is not in your selected local
Govt.
$ws ="warri south"
$wn ="warri north"
$wsw ="warri southwest"

$wsa = array ( 'a' , 'b' ,'c'smile: // towns in warri south
$wna = array ( 'j' , 'k' ,'l'smile: // towns in warri north
$wswa =array( 'x' , 'y' , 'z'smile // towns in warri southwest

If the user should select warri south as his local govt
then selects 'y' as his town of origin, i would want the
Script to alert him that the the town selected is not
in that local government area.
Pls send the entire code for inclusion into the form. Thank you

recent by admin  ·  Sep 26 '19 at 2:07 pm
87
0

Hello admin,have a nice day.Hope you are well.
I’m new in new in Word press and made a website..But I am in a trouble which that slider post not showing in mobile phone.(Red marked).
Any expert here who can help me? Thank you for your time.
theme code here:

screenshot 1 desktop view:

5d8a672f75bbd

screenshot 2 mobile view :

5d8a62a84e68e !

*/
/ Mobile & Tablet Styles /
/*/
/ Large desktop /
@media (min-width: 1200px) { }
/ Portrait tablet to landscape and desktop /
@media (min-width: 768px) and (max-width: 979px) {
body { margin: 0px 10px;}
input#s { width: 175px;}

mainCarousel .carousel-inner > .item > .content, .the-post .content { width: 51.1006%; }

mainCarousel .carousel-inner > .item > a, .the-post .thumb { width: 47.1698%;}

.the-post .cat-post-list, .wishlist-post .wish-post-list, .post-list { margin: 0px 20px 0px 30px;}
.post-list li { margin-right: 20px;}
.search-results .post .post_thumb { margin: 0 auto 5px auto;width: 236px;}

post-sidebar.right{margin-left: 5px;}

.widget_popularproducts ul li a, .widget_newestproducts ul li a {width: 110px; height: 93px;}

footer {width: 100%; }

footer-wrapper {margin-top: 1em; padding: 0.625em 1.6%; }

}
/ Landscape phone to portrait tablet /
@media (max-width: 767px) {
body { margin: 0px;}
input#s { width: 175px;}
form {margin-left: 10px; margin-right: 10px;}
.site-header hgroup { min-height: 110px}

site-navigation, #post-navigation { position: relative;text-align: center;}

site-navigation ul { margin-bottom: 2px;}

.site-header hgroup { padding: 0px;}
.the-post .content { width: 51.1006%; }
.the-post .thumb { width: 39.16%;}
.the-post .content { float: left;}
.the-post .description,.the-post #comments,.the-page #description,.the-page #comments { margin-right: 10px;}
.the-page #comments { width: 95%;}
.post {height: auto;}
.post .post_thumb { margin: 0 auto 5px auto;}
.post .description {height: auto; margin-bottom: 5px;}
.post-list,.wishlist-post,.cat-post-list {text-align: center;}
.posts-wrapper .thumbnails a {width: 145px; height: 121px;}

post-sidebar.right{margin-left: 0px;}

.posts-wrapper .the-post {margin-left: 5px !important; }
.wishlist-post .share-wishlist {width: 88%;}
.widget_popularproducts ul, .widget_newestproducts ul {padding: 0px 5px;}
.widget_popularproducts ul li a, .widget_newestproducts ul li a {width: 110px; height: 93px;}

footer {width: 100%; }

footer-wrapper {margin-top: 1em; padding: 0.625em 1.6%; }

}
@media (max-width: 480px) {
h2 {font-size: 24px;line-height: 24px;}
.site-header hgroup { min-height: 100px}
.site-title{ font-size: 28px;}
.site-description {font-size: 14px; line-height: 14px;}
.the-page #comments { width: 93%;}
.posts-wrapper .the-post.wishlist-post {margin-left: 0px !important;}
.wishlist-post .archive-title {font-size: 24px; line-height: 24px;}
.wishlist-post .share-wishlist {width: 84%;}

Thanks,
Msabbir

112
2

Hi ...Everyone...

I am having an issue seems tired and sinking perhaps you can rescue me, Though I am new with this tools PHP/ Codeigniter. working with a large XML file size about 80 MB. If you kindly help me with your code or instruction, How can I open and read this file using XML techniqes ( SAX or Parser ).

Thanks you for your kind support in advance and highly waiting for you. Kindly forward in my Address # fnbhns (A)(T) gmail (DOT)com #a

125
1
apinales posted Sep 9 '19 at 5:33 pm

Hi,

I've been installed freichat on my site humhub from modules's directory, and some users are having troubles because when they click on freichat's button to open the chat, it open in another tab.

How can I fix it?

recent by admin  ·  Sep 13 '19 at 9:27 am
58
0
kmafsar posted Jul 27 '19 at 10:32 pm

I have textbox on page, while press ENTER key it display single record, the problem is when textbox is empty and press ENTER key its display all record from database.

Can some one fix the code when textbox is empty display alert box 'Type staff id'

Thanks

Code:

<?php
include_once 'database.php';

if (!empty($kma = $_GET['kma']));
$result = mysqli_query($conn,"SELECT * FROM staff where sid like '%$kma%'"smile;

?>
<!DOCTYPE html>

<html>
<head>
<title> Retrive data</title>

<style type="text/css">
.style1
{
width: 80%;
}
.style2
{
width: 93%;
height: 469px;
margin-top: 0px;
margin-right: 14px;
}
.style4
{
width: 912px;
}
.style12
{
width: 104%;
height: 45px;
margin-top: 0px;
}
.style14
{
width: 912px;
height: 13px;
}
.style20
{
width: 1074px;
}

#page {
margin-left:auto;
margin-right:auto;
width:960px;
}
.style25
{
width: 912px;
height: 87px;
}
.style26
{
width: 210px;
}
.style27
{
width: 912px;
height: 53px;
}
.style29
{
width: 912px;
height: 225px;
}
.style30
{
width: 210px;
height: 225px;
}
.style31
{
width: 100%;
}
.style32
{
height: 23px;
}
.style33
{
width: 63px;
}
.style34
{
width: 105px;
}
#Text1
{
width: 97px;
}
.style35
{
width: 19px;
}
.style36
{
width: 91px;
}
.style37
{
width: 14px;
}
.style38
{
width: 15px;
}
</style>

<script type="text/javascript">
window.onload = function () {
document.getElementById("Text1"smile.focus();
}
</script>
</head>
<body>

<form id="form1" runat="server">

<?php
while($row = mysqli_fetch_array($result)) {

?>

<table class="style1"


style="background-image: url('images/main1.png'smile; width:900px; height: 543px; margin-left: auto; margin-right: auto;">
<tr>
<td class="style20">
<table class="style2">
<tr>
<td class="style25">
</td>
<td class="style26" rowspan="3">
<table class="style31">
<tr>
<td>
 </td>
<td>
 </td>
</tr>
<tr>
<td class="style32">
</td>
<td class="style32">
</td>
</tr>
<tr>
<td>
 </td>
<td rowspan="2">
<img alt="" src="images/in.gif"
style="width: 100px; height: 56px; margin-left: 58px; margin-top: 13px" /></td>
</tr>
<tr>
<td>
 </td>
</tr>
<tr>
<td>
 </td>
<td>
 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style27">
</td>
</tr>
<tr>
<td class="style14">
</td>
</tr>

<tr>

<td class="style29">
<table class="style31">
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
Id</td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
:</td>
<td style="color: #FFFFFF; font-size: large;"><?php echo $row["sid"]; ?></td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
 </td>
<td style="color: #FFFFFF; font-size: large;">
 </td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
Name</td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
:</td>
<td style="color: #FFFFFF; font-size: large;"><?php echo $row["name"]; ?></td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
 </td>
<td style="color: #FFFFFF; font-size: large;">
 </td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
 </td>
<td style="color: #FFFFFF; font-size: large;">
 </td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
 </td>
<td style="color: #FFFFFF; font-size: large;">
 </td>
</tr>
<tr>
<td style="color: #FFFFFF" class="style35">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style36">
 </td>
<td style="color: #FFFFFF; font-size: large;" class="style37">
 </td>
<td style="color: #FFFFFF; font-size: large;">
 </td>
</tr>

</table>
</td>
<td class="style30">
<table class="style12">
<tr>
<td class="style38">
</td>
<td>
<?php echo '<img src="data:image/png;base64,'.base64_encode($row['photo'] ).'" height="230" width="188"/>'; ?>

</tr>
</table>
</td>
</tr>
<tr>
<td class="style4">
 </td>
<td class="style26">
<table class="style31">
<tr>
<td class="style33">
 </td>
<td class="style34"> 
<form action="test.php" method="get">
<input type="text" id="Text1" name="kma" style="width: 100px;" onkeydown="keydownFunction()"/>

</form>

</td>
<td>
 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style4">
 </td>
<td class="style26">
 </td>
</tr>
</table>
</td>
</tr>
</table>

<?php

}

?>

<script>
function keydownFunction() {
if (event.keyCode == 13 || event.which == 13){
location.reload();
}

}
</script>


</form>

</body>
</html>

228
1
Mervin posted May 29 '18 at 9:26 am

Hey guys!

I have read somewhere that the way to update multiple sql columns would be to add a coma? I can't get this code to work and it should update two subscriptionplans for the user instead of just one..

if ($subscriptionplan == 'Level 1' && $row['subscriptionplan'] == 'None' && $subscriptionplan2 == 'Level 2' && $row['subscriptionplan2'] == 'None' && $subscriptionplan3 == 'None' && $row['subscriptionplan3'] == 'None'smile {

        $sql = "UPDATE memberships
                SET subscriptionplan = '$subscriptionplan', subscriptionplandate = now(), fees3 = $fees3, paid = $paid, expirydate = now() + interval '1' day, paidbydate = now() + interval '1' day, overdue = $overdue, totalfees = $totalfees, subscriptionplan2 = '$subscriptionplan2'
                WHERE user_uid = '".$_SESSION['u_uid']."'

               ";
        mysqli_query($conn, $sql);
        header("Location: update.php?subscription=success");
        exit();







         } else {


         }
86
1

Hello guys I'm new to this world and I wanted to ask you for information about the transfer of a local forum to a host to make it public, I wanted to ask you how it's done because my attempt went bad.

I raise the following error.

Warning: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'informaticageneraleForum.codo_sessions' doesn't exist in /var/www/html/InformaticaGenerale/sys/CODOF/Session/Session.php:36 Stack trace: #0 /var/www/html/InformaticaGenerale/sys/CODOF/Session/Session.php(36): PDO->query('DELETE FROM cod...') #1 [internal function]: CODOF\Session\Session->open('/var/lib/php/se...', 'PHPSESSID') #2 /var/www/html/InformaticaGenerale/sys/CODOF/Util.php(89): session_start() #3 /var/www/html/InformaticaGenerale/sys/load.php(64): CODOF\Util::start_session() #4 /var/www/html/InformaticaGenerale/index.php(19): require('/var/www/html/I...') #5 {main} thrown in /var/www/html/InformaticaGenerale/sys/CODOF/Session/Session.php on line 36

Fatal error: session_start(): Failed to initialize storage module: user (path: /var/lib/php/sessions) in /var/www/html/InformaticaGenerale/sys/CODOF/Util.php on line 89

How can I solve?

thank you

145
3
trevor.ambrose posted Dec 24 '18 at 4:27 pm

Hi,

Our Group has just started using Codoforum and most of us are some difficulty in using the avatar upload function in that it doesn't seem to work reliably.​

One of our Members posted this.​

_I got the impression people were saying they couldn't get the 'Change' button to be clicked to even start the process. Or are there multiple problems. I have to say, on my desktop, the Change (avatar) button doesn't change appearance when your mouse pointer hovers over it (to indicate it's actually a button)! The mouse pointer changes shape very briefly when over a very thin (Y-axis) area at the bottom of the 'button', possibly only a few pixels high. Though clicking does work over any part of the button (choose picture dialog appears). This is Chrome on Win 10.​
Ha, just tried it with MS Edge. With Edge, the 'Change' button changes shade of grey and the mouse pointer changes when it passes over the button. But clicking the button does sweet FA!​
Internet Explorer - the button doesn't change colour but the mouse pointer does change when over the area, and clicking it produces the picture chooser dialog.​
So different behaviour on three browsers on a single platform. Hmmmm.

Is it us or the Forum?

Trevor.

2.86k
5.92k
20
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft