Thread Rating:
  • 16 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Advanced Sidebox 2.1.1
^ well, that was just for example Wink Thank You Smile
(2013-10-05, 06:30 PM).m. Wrote: ^ well, that was just for example Wink Thank You Smile

so script or sidebox ?
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

^ custom side boxes on the custom script

(tried to rephrase for better understanding)
* .m. 's native language is not English.

The coder had provided two methods to get side boxes and one method is not working for custom boxes on custom scripts
(2013-10-05, 06:44 PM).m. Wrote: ^ custom side boxes on the custom script

(tried to rephrase for better understanding)
* .m. 's native language is not English.

The coder had provided two methods to get side boxes and one method is not working for custom boxes on custom scripts

Ok cool I now understand what you are asking
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

As I can modify, to show me the last topics are worse than the last unanswered revive old topics?


excuse my English, I speak Spanish and I use google translator
How do I change this? Button NEW THREAD

[Image: di-BCXD.jpg]

In version 1.7 change was in the file:
adv_sidebox_class_template_handler.php
Tell me how to do it in: Advanced Sidebox 2.0 Released

[Image: di-E2BY.jpg]


version 1.7
class Showthread_template_handler extends Simple_template_handlers
{
	/*
	 * make_edits()
	 *
	 * set the script and a custom replacement then call Simple_template_handler::make_edit()
	 */
	public function make_edits()
	{
		$this->find_top = '{$ratethread}';
		$this->template_name = 'showthread';
		parent::make_edits();
	}
}

replace
//$this->find_top = '{$ratethread}';


And how in Advanced Sidebox 2.0 Released - how?
^ admin panel >> configuration >> advanced sidebox >> Manage Scripts (tab) >> Forum Display
--> find entries for Header Search Text and Footer Search Text & change as required
Hmm, I do not know how Huh
Please example
I have OCD Big Grin

how come ASB 2.0 has this
"group" => array
		(
			"name" 				=> "asb_settings",
			"title" 					=> "Advanced Sidebox",
			"description" 		=> $lang->asb_settingsgroup_description,
			"disporder" 			=> "101",
			"isdefault" 			=> "no"
		),

note
"disporder" => "101"
perhaps this would be better
$result = $db->simple_select('settinggroups', 'MAX(disporder) AS max_disporder'); // add the setting group to the bottom
        $max_disporder = $db->fetch_field($result, 'max_disporder');	
then
"disporder" => $max_disporder+1

ocd fixed Big Grin

also what happens if 101 is present in the disporder column ??? I guess there would be two 101's ... this means the settings may not either show or appear with settings for another settings group.
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er



Forum Jump:


Users browsing this thread: 12 Guest(s)