Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Abu Abdullah

Pages: [1] 2
1
i tried it in my localhost and i notice two things

1- if you play video or flash and switch between comments pages it will reload the page and the video return to first part actually not a big problem but if we can change it like youtube you can switch between comments pages while playing the video :)

2- there is conflict between this mod and SEO in this thread
http://www.4homepages.de/forum/index.php?topic=17598.0

the problem is SEO script replace image_id with blank '' and because of that paging and comments perpage dropdown menu not working

EDIT:
i found solution for comments problem by changing javascript code in ajaxcomments.js

previous code
Code: [Select]
function CommentsPage(obj)
{
  var href = obj.getAttribute("href");
  var Query = href.substr(href.indexOf("?")+1);
  var Url = ajaxCommentsUrl + (ajaxCommentsUrl.indexOf("?") != -1 ? '&' : '?') + 'js&action=commentget&' + Query;
  return !ajaxSend([ajaxCommentsResponse, Url, "GET", null, obj]);
}

function CommentsPerPage(obj)
{
  var Query = ajaxGetFormQuery(obj);
//  var Query = ajaxGetFormQuery(obj,['page', Page]); // use this line if you want stay on the same page number
  var Url = ajaxCommentsUrl + (ajaxCommentsUrl.indexOf("?") != -1 ? '&' : '?') + 'js&action=commentget&' + (obj.getAttribute('action').indexOf("?") != -1 ? obj.getAttribute('action').substring(obj.getAttribute('action').search("\\?")+1) : '');
  return !ajaxSend([ajaxCommentsResponse, Url, "POST", Query, obj]);
}

replace with
Code: [Select]
function CommentsPage(obj)
{
  var href = obj.getAttribute("href");
  var Query = href.substr(href.indexOf("-")+1);
  var Query1 = Query.split(".html?");
  var Url = ajaxCommentsUrl + (ajaxCommentsUrl.indexOf("-") != -1 ? '&' : '?') + 'js&action=commentget&' + 'image_id=' + Query1[0] + '&' +Query1[1];
  return !ajaxSend([ajaxCommentsResponse, Url, "GET", null, obj]);
}

function CommentsPerPage(obj)
{
  var Query = ajaxGetFormQuery(obj);
  var Query1 = obj.getAttribute('action').substring(obj.getAttribute('action').search("\\-")+1);
  var Query2 = Query1.split(".html");
//  var Query = ajaxGetFormQuery(obj,['page', Page]); // use this line if you want stay on the same page number
  var Url = ajaxCommentsUrl + (ajaxCommentsUrl.indexOf("?") != -1 ? '&' : '?') + 'js&action=commentget&' + (obj.getAttribute('action').indexOf("-") != -1 ? 'image_id='+Query2[0]+Query2[1] : '');
  return !ajaxSend([ajaxCommentsResponse, Url, "POST", Query, obj]);
}

because image url after SEO is (image-443.html)
Thank you

2
hi V@no,

thanks for great mod but can we make comments page navigation also in Ajax like youtube with out reload page ?

thank you

3
Discussion & Troubleshooting / Re: Valid file extensions problem
« on: April 06, 2011, 10:40:51 PM »
great i will try it.

Thank you

4
good to have like this mod ?  :roll:

5
Discussion & Troubleshooting / Valid file extensions problem
« on: March 25, 2011, 03:25:48 AM »
Dear all,

is there a way to disable some extensions like for example PNG files and users can't upload it but admins from control panel they can?

the problem when i remove PNG extension from "Valid file extensions" all png files not working on the entire site i don't know this is bug or what ?

Thank you

6
Discussion & Troubleshooting / Re: Change /admin folder
« on: March 25, 2011, 02:35:15 AM »
it's good feature if they add it to config file if you want to change admin folder like this

$admin_folder_name=anything;

:)

Thank you

7
the problem related to mod security in Apache server when i make it off the problem goes and i can save

anybody knows why?

Thank you

8
yes every things fine i can edit templates and images , cats everything this happened i think after update to v1.7.9 and bug fixes maybe i don't know

i have problem only in this link
settings.php?action=modifysettings

how to troubleshoot the problem ?

thank you

9
Dear all,

i have a problem on control panel i can't save settings when i click on it it's give me error 403 Forbidden Access ?

Thank you

10
i know this thread it doesn't give us any information about streaming script?

my question not how to run FLV i am talking about streaming video

Thank you

11
Dear all,

i want to use flv files in the website and i don't know which best way to implement it and best player i made some tests with JW Player but i faced a problem with streaming i found a solution with PHP streaming script but i don't know what the disadvantage of this way does it effect server resource ?

any idea please?

thank you

12
hi vano,

is there a way to change file name and extension without access to database ?

for example i have file : z100.jpg i want to change it to b10.gif

if you add this feature to this MOD it will be more great :)

Thank you

13
you can remove duplicate content by using this in your robots.txt

Code: [Select]
Disallow: /*.search.*
Disallow: /*?page=
Disallow: /*&mode=search
Disallow: /*&sessionid=

the problem now with details.php?image_id=X and categories.php?cat_id=X

i don't know if we disallow these  links also it will affect search results or no

thank you

14
thank you V@no  i edited my post :)

15
Mods & Plugins (Releases & Support) / Re: [MOD] Universal Paging Class v1.1
« on: September 06, 2010, 11:21:53 PM »
i think we need to add forward slash "/" to the line 115 and 116 for compatibility with v1.7.8

search for
Code: [Select]
$link_args = ereg_replace("&".$this->page_text."=[0-9]*", "", $link_args);
$link_args = ereg_replace($this->page_text."=[0-9]*&", "", $link_args);

replace with
Code: [Select]
$link_args = preg_replace("/&".$this->page_text."=[0-9]*/", "", $link_args);
$link_args = preg_replace("/".$this->page_text."=[0-9]*&/", "", $link_args);

Pages: [1] 2
Post your comments here