News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Trader System

Started by SMFHacks.com Team, July 12, 2006, 12:35:09 AM

Previous topic - Next topic

vbgamer45

$txt[119] is not defined in SMF 2 safe to ignore though
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cutter65

Quote from: vbgamer45 on July 23, 2010, 11:55:10 AM
$txt[119] is not defined in SMF 2 safe to ignore though

Roger!

Thanks for the quick reply!
Cutter

CMDCMD

Is there someone that got this in Swedish or exactly where is the files located that I can translate manualy? Please give me xact directorys and files so I know what to translate into Swedish from English.

vbgamer45

Themes/default/languages
trader.english.php
and
text added to modifications.english.php
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MoreBloodWine

Does the 2.0 RC3 version have all the custom mods you built in a custom version for me a few years back like approive comments and all that other stuff if you remember any of it ?
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venex

Awesome mod :D...

Just a question... is there anyway to just display the info (What it says "Trade Count:" in the profile in every post) in just certain boards? It's because I have a section in my forum dedicated to trade... and I would want it to be in that section only.

Thanks in advance :).

Kindred

you would have to add a conditional in the code which is added to display.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

venex

Quote from: Kindred on September 05, 2010, 08:21:12 AM
you would have to add a conditional in the code which is added to display.template.php
Thanks for the answer,

I'm not good at all with PHP so I have no idea what to add... can you help me out with the code and just guide me where to put it and I'll do it.. That will help me a lot.

PS: I just received and PM from one of my users saying that he was trading with another user and the other user stole him 50 dollars.. so with that, I really want to put this (but just in that section) so this won't happen again.

Thank you.

vbgamer45



global $board;

if ($board == '#boardidhere')
{
// Show trade count
}
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venex

Quote from: vbgamer45 on September 05, 2010, 05:19:12 PM


global $board;

if ($board == '#boardidhere')
{
// Show trade count
}

Thanks a lot and sorry for the lateness haha...

just one more question and I'll give you peace for the rest of the topic hahaha...

Do I have to replace, add next, add previous anything?? or I just add it anywhere in the display.template.php??

Thanks!

vbgamer45

You just add replace with your board id and just add the code in the display.template.php wher eyou want it to show up look for trade count in that code for an idea.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


Pandos

Thanks for this nice Mod.
Is it possible to display the tradecount in Postings only for Members in additional_groups (e.g. 95)?
By default viewing it is enabled for everyone.

Thanks
Sven

Kindred

modify display.template.php and add a conditional just before the display call...   I have mine modified so that it only shows the tradecount if tradecount <> 0
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Pandos

I've tried with the following that is working:


if ($context['user']['is_logged'])


But my wish is to how it only to certain additional_groups.


Thanks in advance


Sven

Kindred

#498
the data is stored in: $context['user']['groups']

so....

if (in_array(9, $user_info['groups']))


-edit- corrected array name
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Pandos

This is not working. Only Admins/Globals now can see the link. 
The desired group is an additional group.

Advertisement: