MyBB Community Forums

Full Version: ezTrader Rating System 1.0.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Yeah, that is a goal I have one day. I did it originally like that to quickly port from one forum system to another.
Version 1.5
Security Update
!Add my_post_key to submit feedback/report feedback
how to show only trade count number only in postbit and profile
(2020-11-04, 08:43 AM)bhuto Wrote: [ -> ]how to show only trade count number only in postbit and profile
Where do you want to remove it from
i wanna show in profile page. but only totall count
(2020-04-19, 10:52 PM)vbgamer45 Wrote: [ -> ]Version 1.5
Security Update
!Add my_post_key to submit feedback/report feedback
Vbgamer, thanks for keeping this updated.

Could I bug you to include some code to force a valid link to be posted in theĀ Topic URL for a trade?

Regards
What do you mean by valid? Just starts with http:// or more in depth checking?
(2021-03-07, 10:07 PM)vbgamer45 Wrote: [ -> ]What do you mean by valid? Just starts with http:// or more in depth checking?
basically yes, it must be http://DOMAIN name if possible.

More in-depth would be great to make sure its a SALE thread but I understand something like that might be quite involved with DB queries.
Open eztrader.php

Find line 772
After
$topicurl = htmlspecialchars($_REQUEST['topicurl'],ENT_QUOTES);
Add
 if (substr($topicurl, 0, 7) != "http://" && substr($topicurl, 0, 8) != "https://")
	ezTrader_fatal_error2("A valid sale topic is required",false);

(2021-03-08, 02:48 AM)vbgamer45 Wrote: [ -> ]Open eztrader.php

Find line 772
After
$topicurl = htmlspecialchars($_REQUEST['topicurl'],ENT_QUOTES);
Add
 if (substr($topicurl, 0, 7) != "http://" && substr($topicurl, 0, 8) != "https://")
	ezTrader_fatal_error2("A valid sale topic is required",false);


Awesome! Thank you this work for any https address.
Would it be possible to do a wildcard?

for instance == "https://domain[*]"

Apologies, I am very new to coding so not sure the wildcard for PHP is * ?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12