Advertisement:

Recent Posts

Pages: [1] 2 3 ... 10
1
Modifications and Packages / Re: SMF Trader System
« Last post by njtweb on Today at 12:39:42 PM »
check default theme files.

Default curve? That is my default theme.
2
Modifications and Packages / Re: SMF Trader System
« Last post by vbgamer45 on Today at 12:34:36 PM »
check default theme files.
3
Modifications and Packages / Re: SMF Trader System
« Last post by njtweb on Today at 12:22:31 PM »
I removed the trader system. I dumped the SMF file cache. I did a shift F5 and a cntrl F5. I looked in Display.template and none of the SMF trader system code is there. But the Trader bit is still on the front end?
4
Mod Requests / Re: Move member/guest bit
« Last post by njtweb on Today at 12:16:23 PM »
Thanks @rjen! That's perfect.
5
Modifications and Packages / Re: SMF Trader System
« Last post by vbgamer45 on Today at 12:12:22 PM »
Yes in display.template.php remove
Code: [Select]
// Start SMF Trader System
if (!empty($message['member']['id']))
{
global $sourcedir;
include_once $sourcedir . '/Trader2.php';

GetTraderInformation($message['member']['id']);


$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}



if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] - $context['ncount']);
else
$tradecount = $context['pcount'] + $context['ncount'] + $context['neturalcount'];



// Show the trader info
echo '<li>
<b>' . $txt['smftrader_profile'] . ' </b>
(<a href="' . $scripturl .  '?action=trader&id=' . $message['member']['id'] . '">', $modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount  , '</a>)</li>';

}
//END SMF Trader System
6
Français (French) / encodage de l'arabe
« Last post by messa21 on Today at 12:01:59 PM »
Bonjour,

J'ai modifié le folder où etait le forum, du coup j'ai du utiliser le fichier "repair" pour rétablir celui-ci.

Mais depuis l'affichage d'arabe était un soucis, j'ai lu qu'il fallait (via l'admin) changer l'encodage de la BDD en UTF8, ce que j'ai fais, cependant, toujours le même soucis, l'arabe ne s'affiche pas correctement.

Avant nous pouvions via Firefox, choisir notre encodage (Arabic Windows) et on voyait les ecritures correctement, mais depuis le changement la fonction encodage de Firefox est grisée, impossible donc de se dépanner avec cela.

Une idée ?


Merci.
7
Modifications and Packages / Re: SMF Trader System
« Last post by njtweb on Today at 11:58:46 AM »
That is safe to ignore. Happens when mods add to those langauge files.

Thank you, I removed it and didn't get any errors but Trader count is still there in the post bit user info. Can I manually remove that from display.template? If so, can you direct me which chunk of code to remove?

Thank you
8
Modifications and Packages / Re: Optimus
« Last post by Bugo on Today at 11:01:08 AM »
Any case you should not change Sitemap.php ("50000" etc.)

https://www.sitemaps.org/protocol.html
Quote
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 50MB (52,428,800 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 50MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.

If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 50MB (52,428,800 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.

Optimus adds to the sitemap only those topics, the number of messages in which more than defined in the mod's settings. And these topics should be within the boards that available to guests.
9
Mod Requests / Re: Move member/guest bit
« Last post by @rjen on Today at 10:22:50 AM »
Quick fix by editing your index.css..

Find
Code: [Select]
/* poster and postarea + moderation area underneath */
.post_wrapper
{
float:left;
width:100%;
}
.poster
{
float: left;
width: 15em;
}
.postarea, .moderatorbar
{
margin: 0 0 0 16em;
}

and add below that
Code: [Select]
.poster
{
width: 100%;
}
.postarea, .moderatorbar
{
margin: 0 0 0 1em;
}
10
Modifications and Packages / Re: Optimus
« Last post by Portugal on Today at 09:31:42 AM »
Like i said before, after testing this solution i will come back with the results. Well, as as far i see it doesn´t work. I will go to test the mod you refer, but i think inst a good option, ive more than 30.000 topics until now.


Regards,
Thanks anyway Bugo


By default, this mod takes the first paragraph from the first topic to create the description. But you can use the Topic Descriptions mod with Optimus. It will help to fill more concrete descriptions. Or, if you are using the SMF 2.1.x, just enable "Allow a separate field for the topic description" option for that.

A different variant, open Class-Optimus.php, find
Code: [Select]
$row['body'] = parse_bbc($row['body'], false);and replace with
Code: [Select]
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br />', '', $row['body']);
or with
Code: [Select]
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br /><br />', '', $row['body']);
Pages: [1] 2 3 ... 10