News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Integration Hooks Report

Started by emanuele, January 08, 2012, 09:56:03 AM

Previous topic - Next topic

acsieben

Quote from: emanuele on April 24, 2013, 05:06:18 AM
Quote from: acseven on April 23, 2013, 05:33:34 PM
This appears cropped using the admin menu in the sidebar, instead of the horizontal menu.
I'm not surprised.

It was just a heads up in case you weren't aware - with the horizontal bar version you can always see the data, as the table overflows the theme's boundaries. With the sidebar it just gets cropped.

emanuele

Thanks. :)
That's probably a common behaviour of several pages I think (since the mod uses a standard template).


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

live627


Warning: fread(): Length parameter must be greater than 0 in I:\www\smf_dev\Sources\Subs-IntegrationHooks.php on line 221


And it's loading... a zero-byte file.  How droll.

NanoSector

Maybe giving some more information helps... Where did you encounter that issue? Do you have mods installed which may cause that issue?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

live627

Are you trolling me? I honestly don't see why more info is needed...

NanoSector

Good luck fixing the mod/your install then.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

emanuele

Quote from: live627 on September 21, 2013, 11:08:05 PM
Warning: fread(): Length parameter must be greater than 0 in I:\www\smf_dev\Sources\Subs-IntegrationHooks.php on line 221


And it's loading... a zero-byte file.  How droll.
Curious, are you able to find which file is it?
And if it actually contains anything?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

live627

Certainly a zero-byte file would have nothing in it. I thought you knew that .

emanuele

* emanuele has never seen a zero-byte file. :P


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Arantor

Sure you have though you probably never noticed it. In Windows, right click and create a new text file - boom, instant zero byte file.

In this mod? Not so much. Could well have been a bad install from SMF's slightly less than reliable mod installation.
Holder of controversial views, all of which my own.


emanuele

* emanuele points Arantor to the :P


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Oceander

Nice mod.  Thanks for it.  I'm trying to figure out how integration hooks work and this will make it so much easier.

Oceander

I think I may have found a little typo in the install.php file for version 1.5.3.  On line 100 of the file, in the template_install_script function, the first line in the first echo command has an extra double-quote mark at the end.

The line in question reads like this:
<div class="tborder login"">

I am guessing that there should only be one double-quote mark, not two, after the class name.

Kindred

Probably an error...  But the author of this mod has not been around for a while
Сл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."

aegersz

bug fix on line 327 in .Sources/Subs-IntegrationHooks.php (remove the extra $ in $sort_options so that it looks like this:
                                $sort[] = $sort_options[0];
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

aegersz

Why does it tell me that some hooks are not found yet they are in use ?
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

aegersz

whoops, ignore that - here is the correct sortable bug fix:

find:
                                $sort[] = $$sort_options[0];

replace:
//                              $sort[] = $$sort_options[0];
                                if  ($sort_options[0] == "hook")
                                        $sort[] = $hook;
                                if  ($sort_options[0] == "function")
                                        $sort[] = $function;
                                if  ($sort_options[0] == "file_name")
                                        $sort[] = $file_name;
                                if  ($sort_options[0] == "status")
                                        $sort[] = $status;


The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Advertisement: