Posts Converted to Divs - Overflow Works - Now Testing


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Posts Converted to Divs - Overflow Works - Now Testing
# 15  
Old 08-07-2018
LOL

Coders who can code in HTML5, CSS3 and Javascript/jQuery would be nice.

This is a fairly huge site with nearly a million posts and countless lines of code, much of it modified over the years by various admins who are not active now.

Currently, there is only one administrator actively coding, and his name is Neo, LOL, so for the first time since our early days, we only have one admin working on code.

Thanks for your patience. It you really want to complain about some feature or desirable switch, write the code and fix it is actually better. LOL

I'm going to rewrite and modernize the code base here, even if some complain strongly, because everyone is free to write code to add great features versus complaining. This is a site for techies and coders. Write code! LOL
This User Gave Thanks to Neo For This Post:
# 16  
Old 08-07-2018
Quote:
Originally Posted by Neo
LOL
Coders who can code in HTML5, CSS3 and Javascript/jQuery would be nice.
This is a fairly huge site with nearly a million posts and countless lines of code, much of it modified over the years by various admins who are not active now.

Currently, there is only one administrator actively coding, and his name is Neo, LOL, so for the first time since our early days, we only have one admin working on code.

Thanks for your patience. It you really want to complain about some feature or desirable switch, write the code and fix it is actually better. LOL

I'm going to rewrite and modernize the code base here, even if some complain strongly, because everyone is free to write code to add great features versus complaining. This is a site for techies and coders. Write code! LOL
Hey Neo,

To be honest I am not that great developer and never worked on such a big project like this forum. But if you could give me a test site or any test server/qa server(if this site has any), I will give my 110% to help. But honestly I am not html/java script guy but some guidance and some qa test/servers/site if I get I may try out few things and could help you Smilie


Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
# 17  
Old 08-07-2018
Quote:
Originally Posted by RavinderSingh13
Hey Neo,

To be honest I am not that great developer and never worked on such a big project like this forum. But if you could give me a test site or any test server/qa server(if this site has any), I will give my 110% to help. But honestly I am not html/java script guy but some guidance and some qa test/servers/site if I get I may try out few things and could help you Smilie


Thanks,
R. Singh
That will not work for me, because what you are asking takes time away from coding.

To be a web developer and to be able to help, you need to be self-sufficient 100%, and if your are not an HTML/JS person, this site is not place to start learning.

Thanks anyway!
# 18  
Old 08-07-2018
Update:

OK... I fixed the bug with multi-quoting. It works great now (I think). There was some extra div elements in the version from tables to divs and I squashed a number of those bugs.

Also, I added a new multi-quote function where if we doubleclick on the multi-quote icon, it clears the entire multi-quote cookie entry.

Code:
function mq_dblclick(){
    var D = fetch_cookie("vbulletin_multiquote");
    if(D){
        A = D.split(",");
        for (var B = 0; B < A.length; B++) {
            var F  = "mq_"+A[B];
            $("#"+F).removeClass("fas");
            $("#"+F).addClass("far");
            $("#"+F).attr("title","Click to Select this Post to Quote in Reply");
          }

     set_cookie("vbulletin_multiquote",'');
   }
    return false;
}

By adding the line in red below to the mq_init() function:

Code:
function mq_init(D) {
  var C = fetch_cookie("vbulletin_multiquote");

  if (C != null && C != "") {
    C = C.split(",");
  } else {
    C = new Array();
  }
  var E;
  var A = fetch_tags(D, "i");
  for (var B = 0; B < A.length; B++) {
    if (A[B].id && A[B].id.substr(0, 3) == "mq_") {
      E = A[B].id.substr(3);
      A[B].onclick = function(F) {
        return mq_click(this.id.substr(3));
      };
      E = A[B].id.substr(3);
      A[B].ondblclick = function(F) {
        return mq_dblclick();
      };
      change_mq_image(E, PHP.in_array(E, C) > -1 ? true : false);
    }
  }
}

I'll test it more before enabling this again for the testing crew.

Thanks for your patience.
# 19  
Old 08-07-2018
OK! The new post code is live again for the testing crew:

Code:
$testers =  array('1','302122047','302108573','302148617');

if (NEO_WORKING AND in_array($vbulletin->userinfo['userid'],$testers))
{
  //  now live new postbit code
}

If anyone else wants to help out and test, please raise your hand.

Thanks.

PS: The overflow issues with code and big images in posts should be solved (scrollbars working).

Also, multi-quote works well, and I added a few feature to clear all selected posts by doubleclicking on the multi-quote icon.

Woooooo Smilie
# 20  
Old 08-07-2018
Quote:
Originally Posted by hicksd8
How to boot partition from Grub Minimal_BASH?

The text overflowed to the right but the scroll bar was below the image so could not scroll easily at all. Now the text is formatted nicely so scrolling not necessary. However, should we be able to see the full image posted??
Should be good to go on oversized images now (horizontal scroll bar working on images in posts); but I have not tested in all browsers yet.

Testing this big image:

Image
# 21  
Old 08-07-2018
On the huge image above, the horizontal scroll bar and overflow works (inside the post), using the new div code.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. War Stories

Scrollbars and Overflow in Posts (Code Tags)

YAY! Finally, seems like forever, I added this CSS to the posts (postbit) for table columns and scrollbars work still do not work for code tags and text inside posts. <style> td { max-width:200px; overflow: auto; white-space: nowrap; } </style> YAY... Now scollbars... (3 Replies)
Discussion started by: Neo
3 Replies

2. Shell Programming and Scripting

Hebrew converted into jibrish while put command

HI Friends , I have a script which cp xml files from linux to other server thru ftp my xml file contains charcters in hebrew although , the command Binary exists in the script . the files contains Undefined Charcters after converting. script : ftp -p -n $HOST << EOF user $USER $PASSWORD... (9 Replies)
Discussion started by: naamas03
9 Replies

3. UNIX for Advanced & Expert Users

Directories converted into files with the same size

Hi Gurus, I know this sounds weird, We have encountered many incidents where some directories on several Solaris 10 boxes, will be converted to files with the same size. for example the file below : -rw-r--r-- 1 rkadm redknee 5027399 Apr 15 00:02 dump This was a directory created... (5 Replies)
Discussion started by: aladdin
5 Replies

4. Shell Programming and Scripting

how to keep tab from being converted to space

Hi, I want to read lines from a file, and I'm using two methods 1 use while read line do done<filename 2 use line=`sed -n '3p' filename` however, in both of them, I notice that the tab between fields are automatically converted to space because I want to use awk over the... (10 Replies)
Discussion started by: esolvepolito
10 Replies

5. Red Hat

Spanish Characters get converted in strange chrac

I am trying to sftp a textfile from windows to linux. The file includes some spanish characters. When I vi the file in LINUX, the special (spanish) characters get converted into some strange characters. anyone know how i can resolve this? for example México gets converted into México on LINUX. (0 Replies)
Discussion started by: mrx1350
0 Replies

6. Shell Programming and Scripting

printf error (not completely converted)

I'm encountering an issue in printf.. it works on other servers but not this one (SunOS - Kernel Generic_118558-33) root@server # echo $x 2.340 root@server # printf "%.1f" $x printf: 2.340 not completely converted 2,0root@server # anyone has an idea? i was expecting an output of "2.3" (5 Replies)
Discussion started by: ryandegreat25
5 Replies

7. Programming

getting double to be converted

got a problem. i have to get A to + 20.70 but i keep getting A + 20 in my logic below. anyone can guide me on where i go wrong? i understand it is a double, but i do not noe how to parse it to the function so that it can read in as 20.70 instead of just 20.. i highlighted the problem part... (1 Reply)
Discussion started by: xiaojesus
1 Replies

8. Shell Programming and Scripting

Print is not in ordered after hash converted to array

Perl: Can anyone tell me why after I convert the hash into an array, when I print it out, it's not in the order like the hash? See below.. my %cityZip = ("Logan, AL", 35098, "Los Angeles, CA", 90001, "OrangeVille, IL", 61060, "Palm Bay, FL",... (6 Replies)
Discussion started by: teiji
6 Replies

9. Windows & DOS: Issues & Discussions

RTF files can they be converted once they are on linux system

:D mount -t vfat /dev/hda1 /mnt my dillemma is simple i have psion 5 mx wich is an epoc type machine not only does it only work on windows as far as I know but I have to convert the files (the usual stuff!) sometimes a humen error happens and the files that I want to transfer to the linux drive... (7 Replies)
Discussion started by: moxxx68
7 Replies
Login or Register to Ask a Question