It still using a single core and taking sooooo long :sleep::(
Step 10 of 17: Threads - [1,881] 0.11%
It takes 7 seconds to import a single thread. I have more than 1 million threads to go.
oh boy... life is short...
hmm seems like both usernames are not equal, even if we can see it as equal.
$value = 'Leni⁮⁮⁮⁮⁮⁮⁮⁮⁮⁮⁮⁮⁮';
$value = html_entity_decode(strval($value), ENT_QUOTES, 'UTF-8');
echo $value=='Leni'? "$value is...
I've got two users with usernames like 'محمد العلاف' (looks like Arabic characters) and also have plenty of other users with other language characters, in my db:
This is where the script stopped at the beginning:
user with user ID 161751 has its username this 'محمد...
Using protocol-independent absolute path:
If the browser is viewing a page in SSL through HTTPS, then it'll request that asset with the https protocol, otherwise, it'll request it with HTTP.
This prevents that awful "This Page Contains Both Secure and...
Assuming you are referring to test in params,
yes simple strings works fine, but if I put a variable, it gives "##0" as a string, and If I put another variable, it gives "##1", and another, "##2,.. so on.
func_get_args() also returns same strange "##0" strings :rolleyes:
I have this HTML type widget in the search_results template which has access to the $search object of the search_results template.
(template passes $search to the widget via a context variable context-search, I'm using template modification to add the widget position to the search_results...
If you are familiar with the widget system in XenForo, as you may be aware, this special kind 'HTML' type widget, allows you to add raw HTML code to your site.
I can create other type widgets when installing the addon, in setup.php
but How do you create this HTML type widget using installSteps...
After rebuilding the VPS, it started working, but image opacity isn't working. I tried both png and jpeg, still, it's showing the watermark without reducing the opacity. I tried adding less opacity png as the watermark file, but it reproduces full opacity watermarked attachment from my less...
yeah my bad, I already had GD but not the FreeType. got it fixed by installing FreeType library.
One more question, where should I suppose to put the watermark.png file?
I placed watermark.png files in root XF directory, and in src directory, and also inside the \addons\xenMade\STWM directory...
Hey @Ralle, thank you so much for trying to help us with this, I've been struggling for days to make it work in your way, but I got some errors
Edit: Okay I found a solution:
Changing this line in your bootstrap.php
Fixed a lot of things...