Перейти к контенту

[2.3.x]HighSlide ImgHack - By FrosT


Гость

Рекомендуемые сообщения

в логах аппача есть надписи вида

File does not exist: блаблабла/style_images/\xd0\x9f\xd0\x90\xd0\x9f\xd0\x9a\xd0\x90_\xd0\x92\xd0\x90\xd0\xa8\xd0\x95\xd0\x93\xd0\x9e_\xd0\xa1\xd0\x9a\xd0\x98\xd0\x9d\xd0\x90, referer: http://блаблабла/forum/index.php?showtopic=102

 

думаю это относится как раз к этому, где накосячил?

Ссылка на комментарий
Поделиться на других сайтах

  • Ответы 88
  • Создана
  • Последний ответ

Лучшие авторы в этой теме

Лучшие авторы в этой теме

Загружено фотографий

у меня неработало из-за того что бло отключено в админцентре в "Список настроек группы «Темы, Сообщения и Опросы»"

"Показывать эскизы прикрепленных изображений?" так что Player701 проверь у себя тоже

 

А так мод хороший, Спасибо!

Ссылка на комментарий
Поделиться на других сайтах

В общем то же не вижу изменений на 2.3.5,хотя по идее все установил.Единственно не понятен все же вот этот момент

Идём в папку jscripts, которая в корне форума, открываем фаил - ipb_topic.js

Находти и удаляем такую строку:

если скрипт ipb_topic.js сжатый, удалить - img_obj.onclick=function(event){ipsclass.pop_up_window(url_obj.href,width+20,hei

ght+20);ipsclass.cancel_bubble(event);};

если скрипт ipb_topic.js несжатый, удалить - img_obj.onclick= function(event) { ipsclass.pop_up_window( url_obj.href, width + 20, height + 20 ); ipsclass.cancel_bubble(event); };

Одну первую строчку нашел и удалил,а вот что за вторая строка??

Изменено пользователем Grandsire
Ссылка на комментарий
Поделиться на других сайтах

Про вторую строчку забудь. Если первую нашел и удалил то большего ненадо.

ПыСы... либо я криворукий либо небольшой баг нашел, почему то не все gif ки этот мод открывает, как то рандомно я бы сказал...обычные jpg без проблем, а вот с первыми беда какая то.. Что за беда и как бороться?)

Ссылка на комментарий
Поделиться на других сайтах

  • 2 недели спустя...

Обнаружен баг!

Мод установил, все работает, но теперь при клике на кнопку "Редактирование сообщения" не отображается меню с выбором вариантов редактирования (полное, быстрое), а сразу выбрасывает на страницу редактирования. Исправьте, пожалуйста!

Ссылка на комментарий
Поделиться на других сайтах

Обнаружен баг!

Мод установил, все работает, но теперь при клике на кнопку "Редактирование сообщения" не отображается меню с выбором вариантов редактирования (полное, быстрое), а сразу выбрасывает на страницу редактирования. Исправьте, пожалуйста!

это в скрипте, который ставишь в главный шаблон, у меня тоже было такое удалила всё заработало.

итог, конфликтует с чем то.

может из за того что null

Ссылка на комментарий
Поделиться на других сайтах

  • 4 недели спустя...

Hello,

 

I do not speak russian and for this reason we published this post in english.

 

I would like to know, how IPB 2.3.X mod needs to be viewed atach images in post, as in this forum (see post no.2):

http://www.daciaclub.ro/Scheme-electronice...-t50171-s0.html

 

or what files must be modified to obtain the effect of viewing images of the IPB forum?

 

Highslide JS ? I am concerned about "this issue" and I do not know how to integrate Highslide JS in IPB 2.3.6?

 

I need some help.

Ссылка на комментарий
Поделиться на других сайтах

Hello,

 

I do not speak russian and for this reason we published this post in english.

 

I would like to know, how IPB 2.3.X mod needs to be viewed atach images in post, as in this forum (see post no.2):

http://www.daciaclub.ro/Scheme-electronice...-t50171-s0.html

 

or what files must be modified to obtain the effect of viewing images of the IPB forum?

 

Highslide JS ? I am concerned about "this issue" and I do not know how to integrate Highslide JS in IPB 2.3.6?

 

I need some help.

Hello Petru.

 

You can download integration instruction from first post in this topic by "Скачать" link.

 

This is install, translated by Google and me:

 

V.1.0.1

 

Installation:

 

Copy all unpacked folders into all of your skins folders.

 

Go to ACP > Look and feel > *You skin menu* > Edit wrapper

 

Find:

<% CSS%>

 

Insert after:

<link rel="stylesheet" type="text/css" href="style_images/<#IMG_DIR#>/folder_js_css/highslide.css" />

 

Find:

<% JAVASCRIPT%>

 

Insert after:

<script type='text/javascript' src='style_images/<#IMG_DIR#>/folder_js_skin/highslide/highslide.js'></script>
<script type="text/javascript">
hs.graphicsDir = 'style_images/<#IMG_DIR#>/folder_js_images/highslide/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'glossy-dark';
hs.fadeInOut = true;
//hs.dimmingOpacity = 0.75;

// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: true,
	overlayOptions: {
		opacity: .6,
		position: 'top center',
		hideOnMouseOut: true
	}
});
</script>

 

Save!

 

Go to ACP > Look and feel > *You skin menu* > Changing HTML templates style> skin_topic> Show_attachments_img_thumb

 

We are looking for:

<a

 

and, in the same line, just insert;

class="highslide" onclick="return hs.expand(this)"

 

Save!

 

Go to the folder ./jscripts, which is at the root of the forum, open file ipb_topic.js

 

Find and remove this line:

If the script ipb_topic.js compressed, remove

img_obj.onclick=function(event){ipsclass.pop_up_window(url_obj.href,width+20,height+20);ipsclass.cancel_bubble(event);};

If the script ipb_topic.js uncompressed, remove

img_obj.onclick = function (event){ipsclass.pop_up_window(url_obj.href, width + 20, height + 20); ipsclass.cancel_bubble(event);};

 

That's all!

Ссылка на комментарий
Поделиться на других сайтах

I've make a mistake in code :D

Try to replace

<script type='text/javascript' src='style_images/PAPKA_VAShEGO_SKINA/folder_js_skin/highslide/highslide.js'></ script>

in wrapper by

<script type='text/javascript' src='style_images/<#IMG_DIR#>/folder_js_skin/highslide/highslide.js'></ script>

Ссылка на комментарий
Поделиться на других сайтах

I've make a mistake in code

 

I noticed. Anyway, I wrote as you stated code. However, do not work on Mozilla Firefox 3.0. You know that could be the cause? :D

 

In IE7 and Google Chrome works very well.

Ссылка на комментарий
Поделиться на других сайтах

Google Transtaler has tried to check orthography in instaruction code ;)

Check your wrapper ones more, there are 2 mistakes in close </script> tag:

</ script>

Remove the space in it :D

Ссылка на комментарий
Поделиться на других сайтах

I've installed this mod, it works in Firefox/3.0.4 :D Maybe I've сorrect something and haven't note that ;)

You may post URL of your forum here or send them via PM to me, then I look on it and detect problem.

Ссылка на комментарий
Поделиться на других сайтах

Ok, I did it. Now go and Firefox 3.0. I restarted web browser.

 

One more question. I saw some comments of the image are displayed in a language of "unknown", I guess russian, but my browser displays web astray. How can I change it?

 

In this sense post the url address my forum:

http://www.forum.tehnium-azi.ro

 

Thank you for advice so far.

 

Later edit: You will need to log in so you can see images in my forum.

Ссылка на комментарий
Поделиться на других сайтах

You can change it in./style_images/*skin_folder*/folder_js_skin/highslide/highslide.js:

lang : {
loadingText : 'Загрузка...',
loadingTitle : 'Нажмите для отмены',
focusTitle : 'Click to bring to front',
fullExpandTitle : 'Исходный размер',
creditsText : 'Powered by <i>********</i>',
creditsTitle : '*********',
previousText : 'Предыдущий',
nextText : 'Следующий', 
moveText : 'Переместить',
closeText : 'Закрыть', 
closeTitle : 'Закрыть (esc)', 
resizeTitle : 'Растянуть',
playText : 'Запуск',
playTitle : 'Запуск Слайд-Шоу (spacebar)',
pauseText : 'Пауза',
pauseTitle : 'Пауза в Слайд-Шоу (spacebar)',
previousTitle : 'Предыдущий (arrow left)',
nextTitle : 'Следующий (arrow right)',
moveTitle : 'Переместить',
fullExpandText : 'Исходный размер',
number: 'Image %1 of %2',
restoreTitle : 'Click to close window, drag and drop to move.'
},

Ссылка на комментарий
Поделиться на других сайтах

Thank you very much.

 

I saw in Highslide for Joomla, as when clicking on the image appear a circle round that said: "Loading". How to change this IPB mod (above) for like I do this thing? :D

Ссылка на комментарий
Поделиться на других сайтах

I think at boldered line:

lang : {
   [b]loadingText : 'Загрузка...',[/b]
   loadingTitle : 'Нажмите для отмены',

Ссылка на комментарий
Поделиться на других сайтах

Ok, I understand but I don't see the circle (for example, that circle replaces the word "Download or Loading" in your code posted above). I mean, I think JavaScript have included a line to do that. Might and CSS file! However, I don't want so much that circle, but if you know something, please tell me!!!

 

OFFTOPIC: In what forum can open a topic about the insertion of a hyaline banner or transparently banner, as is the display in web page below, see bottom of the page (the banner show one time):

http://forum.softpedia.com/index.php?showforum=94

Ссылка на комментарий
Поделиться на других сайтах

Ok, I understand but I don't see the circle (for example, that circle replaces the word "Download or Loading" in your code posted above). I mean, I think JavaScript have included a line to do that. Might and CSS file! However, I don't want so much that circle, but if you know something, please tell me!!!

 

OFFTOPIC: In what forum can open a topic about the insertion of a hyaline banner or transparently banner, as is the display in web page below, see bottom of the page (the banner show one time):

http://forum.softpedia.com/index.php?showforum=94

Maybe I'm making mistakes... So you can uncomment this in CSS(folder_js_css/highslide.css):

.highslide-loading {
display: block;
color: white;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
padding: 3px;
border-top: 1px solid white;
border-bottom: 1px solid white;
background-color: black;
/*
padding-left: 22px;
background-image: url(../folder_js_images/highslide/loader.gif);
background-repeat: no-repeat;
background-position: 3px 1px;
*/
}

, remove /* and */ here. If you want to delete loading text -- set it empty:

lang : {
loadingText : '',

Am I understand your question?

 

P.S. But I don't know smth about your offtopic ;) Screenshot it :D

Ссылка на комментарий
Поделиться на других сайтах

Am I understand your question?

No matter. I'll leave that code. Thanks.

 

P.S. But I don't know smth about your offtopic sad.gif Screenshot it smile.gif

Please, see the web site screenshot below:

http://i40.tinypic.com/dh64oy.jpg

Ссылка на комментарий
Поделиться на других сайтах


×
×
  • Создать...

Важная информация

Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.