General discussion

Place for discussing all the general topics

471
13
typad1 posted Aug 21 '15 at 3:15 pm

I hate all this forum spam.. please use noCaptcha recaptcha as it will stop the spam. Also, delete all users that have ever posted spam.. I know it may take a while but I'm sure your users would rather have no spam than spam.

recent by typad1  ·  Aug 28 '15 at 7:08 pm
249
2
codoforums posted Aug 10 '15 at 4:06 am

Is there like a way to create a custom feature for the codoforum I'm using? I want to be able to close or lock a topic if you are the author of the topic or an admin or moderator. I know this is possible, but I'm not sure what the syntax is for fetching rows in the codoforum platform. I also don't know the syntax for checking if a user has the right roles or if the current session user is the author.

For example

<?php
if($row['user_level'] == 4) {
    print('User is an admin');
}

Something along those lines would be good. If this type of customization works, I'm pretty sure you can also do it with a "pin" or "sticky" feature as well right? The reason why I say this is because I like how codoforum runs and how smooth it runs. However, since it doesn't have features like a normal forum does, it is just slightly behind generic forum platforms. Meaning like SMF, VBulletin, IP Board, .etc. They all have sticky/ pin, close/ lock options for topics.

It would be nice to have those options in the codoforum platform.

131
1
Samyak Veera posted Aug 11 '15 at 1:47 pm

Hello All!

I'm looking to create a multisite setup where all the sites will have some private and shared forums and was wondering if this were possible?

If, it is possible then suggest me the way how it possible ? I want to create .

Thanks
Samyak Veera

recent by admin  ·  Aug 11 '15 at 6:27 pm
93
0

Can anyone please suggest me, where I can edit the HTML Layouts of the site, I mean, like we do in wordpress like, there is a main index.php file, where we can add functions in the header, or editing the existed functions, and Where to go for single topic layout editing, like we do in wordpress by editing the single-post.php..

smile

Many Thanks in Advance

133
1
Restius posted Jul 21 '15 at 3:09 pm

Hello All!

I'm looking to create a multisite setup where all the sites will have some private and shared forums and was wondering if this were possible?

For example, on the main website I'm looking to have forums for:

  • General Conversation
  • Spam

Then on each subsite I'm looking to include the General Conversation and Spam while allowing those sites to have their own unique forums as well.

Is this something that is possible?

Thanks,
Restius

174
0

hi everyboy,
I am trying to work with inner join in php/mysql. to associate author with their quotes in the display

  1. mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given
  2. Warning: Invalid argument supplied fo foreach()

    <p>here are the tables
    author table (id, name, email)
    user_quotes table(id, City, quoteText)
    </p>
    <p>Here are my code</p>

    <?php
    if ($_SERVER["REQUEST_METHOD"]=="POST"smile {
    $id_select = $_POST['id'];
    $action = "DELETE FROM user_quotes WHERE id = '$id_select'";
    $requet= mysqli_query($db_connection, $action);
    }
    $requete = "SELECT joke.id, quoteText, name, email FROM user_quotes INNER

            JOIN author ON authorID = author.id";
    

    $resultat = mysqli_query($db_connection, $requete);

    while ($rows = mysqli_fetch_assoc($resultat)) {

    $quotes []= array('id' =>$rows['id'], 'text' =>$rows['quoteText']

            'name'=>$rows['name'], 'email'=>$rows['email']);}
    

    ?>
    <p><body></p>
    <?php foreach ($quotes as $quote):?>

    <form action="?deletequote" method="post">


<p>
<?php echo htmlspecialchars($quote['text'], ENT_QUOTES, 'UTF-8'smile; ?>

<input type="hidden" name="id" value="<?php echo $quote['id'];?>">

<?php echo htmlspecialchars($quote['name'], ENT_QUOTES, 'UTF-8'smile; ?>

<?php echo htmlspecialchars($quote['email'], ENT_QUOTES, 'UTF-8'smile; ?>

<input type="submit" value="Delete">
</p>
</form>
<?php endforeach; ?>

258
2
cemond posted Jun 19 '15 at 11:03 pm

Looking in the files/folders I stumble onto a language files with a couple folders to set up other languages, there are instruction on how to do the translation and it says to set up the new language on the backend.

Simple question: Where?

recent by cemond  ·  Jun 20 '15 at 11:33 am
389
2.54k
18
Actions
Hide topic messages
Enable infinite scrolling
Previous
1 ... 891011121314 ... 20
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft